]> dgit.raspbian.org Git - libfyaml.git/commitdiff
avoid-yeild
authorJose Luis Blanco Claraco <joseluisblancoc@gmail.com>
Tue, 3 Feb 2026 19:52:46 +0000 (19:52 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 3 Feb 2026 19:52:46 +0000 (19:52 +0000)
Gbp-Pq: Name avoid-yeild.patch

src/util/fy-atomics.h

index bfc177f24f83234b4c370daa2431fc1e5786ac51..5936bb9b08a258605b0bdac974e9d1441044aea3 100644 (file)
@@ -182,8 +182,8 @@ static inline void fy_cpu_relax(void)
        __builtin_ia32_pause();
 #elif defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86))
        _mm_pause();
-#elif defined(__aarch64__) || defined(__arm__)
-       __asm__ volatile ("yield");
+//#elif defined(__aarch64__) || defined(__arm__)
+//     __asm__ volatile ("yield");
 #elif defined(__powerpc__)
        __asm__ volatile ("or 27,27,27");
 #else