aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/system_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/system_32.h')
-rw-r--r--include/asm-x86/system_32.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-x86/system_32.h b/include/asm-x86/system_32.h
index 8b15bd3057c9..e7e5d426fef5 100644
--- a/include/asm-x86/system_32.h
+++ b/include/asm-x86/system_32.h
@@ -274,7 +274,11 @@ static inline unsigned long get_limit(unsigned long segment)
274 274
275#ifdef CONFIG_SMP 275#ifdef CONFIG_SMP
276#define smp_mb() mb() 276#define smp_mb() mb()
277#define smp_rmb() rmb() 277#ifdef CONFIG_X86_PPRO_FENCE
278# define smp_rmb() rmb()
279#else
280# define smp_rmb() barrier()
281#endif
278#ifdef CONFIG_X86_OOSTORE 282#ifdef CONFIG_X86_OOSTORE
279# define smp_wmb() wmb() 283# define smp_wmb() wmb()
280#else 284#else