]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/fiber/detail/cpu_relax.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / fiber / detail / cpu_relax.hpp
index f40545c2c4cc2c23d18164f1e2f182a427e6ba45..54cecf12d427356c1d0b9502c7569552a387ee11 100644 (file)
@@ -47,7 +47,7 @@ namespace detail {
 # else
 #  define cpu_relax() asm volatile ("nop" ::: "memory");
 # endif
-#elif BOOST_ARCH_MIPS && (__mips_isa_rev > 1)
+#elif BOOST_ARCH_MIPS && (((__mips_isa_rev > 1) && defined(__mips32)) || ((__mips_isa_rev > 2)  && defined(__mips64)))
 # define cpu_relax() asm volatile ("pause" ::: "memory");
 #elif BOOST_ARCH_PPC
 // http://code.metager.de/source/xref/gnu/glibc/sysdeps/powerpc/sys/platform/ppc.h