X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=arch_x86.h;fp=arch_x86.h;h=9e0079d6a5a7fc8fee6e81e0ea26d80995446450;hp=cc3ab012c557f38db5df6c7b5c829a13ceaf511a;hb=ca9a18e1de82400d47549d01621a637a0b8765b7;hpb=93896c1d7eba3a88fd0b2358a90c235f6f0f199b diff --git a/arch_x86.h b/arch_x86.h index cc3ab01..9e0079d 100644 --- a/arch_x86.h +++ b/arch_x86.h @@ -84,12 +84,6 @@ /* Nop everywhere except on alpha. */ #define smp_read_barrier_depends() -/* REP NOP (PAUSE) is a good thing to insert into busy-wait loops. */ -static inline void rep_nop(void) -{ - asm volatile("rep; nop" ::: "memory"); -} - static inline void cpu_relax(void) { rep_nop();