From: Mathieu Desnoyers Date: Wed, 13 May 2009 17:38:50 +0000 (-0400) Subject: Remove rep_nop() (GPL) X-Git-Tag: v0.1~228 X-Git-Url: https://git.lttng.org/?p=urcu.git;a=commitdiff_plain;h=ca9a18e1de82400d47549d01621a637a0b8765b7 Remove rep_nop() (GPL) Signed-off-by: Mathieu Desnoyers --- 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();