vp-build/srcpkgs/boost/patches/mips.patch

12 lines
567 B
Diff

--- boost/fiber/detail/cpu_relax.hpp 2017-09-02 11:56:11.000000000 +0200
+++ boost/fiber/detail/cpu_relax.hpp 2017-11-09 17:25:40.258995963 +0100
@@ -48,7 +48,7 @@
# define cpu_relax() asm volatile ("nop" ::: "memory");
# endif
#elif BOOST_ARCH_MIPS
-# define cpu_relax() asm volatile ("pause" ::: "memory");
+# define cpu_relax() asm volatile ("nop" ::: "memory");
#elif BOOST_ARCH_PPC
// http://code.metager.de/source/xref/gnu/glibc/sysdeps/powerpc/sys/platform/ppc.h
// http://stackoverflow.com/questions/5425506/equivalent-of-x86-pause-instruction-for-ppc