summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/system.h')
-rw-r--r--include/asm-mips/system.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-mips/system.h b/include/asm-mips/system.h
index 1c1c8c575..565e1fcf4 100644
--- a/include/asm-mips/system.h
+++ b/include/asm-mips/system.h
@@ -149,9 +149,9 @@ extern void __global_restore_flags(unsigned long);
#ifdef CONFIG_CPU_HAS_WB
#include <asm/wbflush.h>
-#define rmb()
-#define wmb() wbflush()
-#define mb() wbflush()
+#define rmb() do { } while(0)
+#define wmb() wbflush()
+#define mb() wbflush()
#else /* CONFIG_CPU_HAS_WB */