Add rewrite of rep_nop
[urcu.git] / arch_x86.h
index cc3ab012c557f38db5df6c7b5c829a13ceaf511a..4a2573e0f52934e3a2635516ad5f66cfd7c5c563 100644 (file)
 /* 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");
+       asm volatile("rep; nop" : : : "memory");
 }
 
 static inline void cpu_relax(void)
This page took 0.023193 seconds and 4 git commands to generate.