summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/barrier.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/include/asm/barrier.h')
-rw-r--r--arch/sh/include/asm/barrier.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/include/asm/barrier.h b/arch/sh/include/asm/barrier.h
index bf91037db4e0..f887c6465a82 100644
--- a/arch/sh/include/asm/barrier.h
+++ b/arch/sh/include/asm/barrier.h
@@ -32,7 +32,8 @@
#define ctrl_barrier() __asm__ __volatile__ ("nop;nop;nop;nop;nop;nop;nop;nop")
#endif
-#define smp_store_mb(var, value) do { (void)xchg(&var, value); } while (0)
+#define __smp_store_mb(var, value) do { (void)xchg(&var, value); } while (0)
+#define smp_store_mb(var, value) __smp_store_mb(var, value)
#include <asm-generic/barrier.h>
OpenPOWER on IntegriCloud