diff options
Diffstat (limited to 'arch/i386/atomic.h')
-rw-r--r-- | arch/i386/atomic.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/i386/atomic.h b/arch/i386/atomic.h index 8a2a1234..4fe7bded 100644 --- a/arch/i386/atomic.h +++ b/arch/i386/atomic.h @@ -96,6 +96,11 @@ static inline void a_spin() __asm__ __volatile__( "pause" : : : "memory" ); } +static inline void a_barrier() +{ + __asm__ __volatile__( "" : : : "memory" ); +} + static inline void a_crash() { __asm__ __volatile__( "hlt" : : : "memory" ); |