summaryrefslogtreecommitdiffstats
path: root/arch/ia64/include/asm/barrier.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/include/asm/barrier.h')
-rw-r--r--arch/ia64/include/asm/barrier.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/include/asm/barrier.h b/arch/ia64/include/asm/barrier.h
index f6769eb2bbf9..03117e7b2ab8 100644
--- a/arch/ia64/include/asm/barrier.h
+++ b/arch/ia64/include/asm/barrier.h
@@ -82,7 +82,7 @@ do { \
* acquire vs release semantics but we can't discuss this stuff with
* Linus just yet. Grrr...
*/
-#define set_mb(var, value) do { (var) = (value); mb(); } while (0)
+#define set_mb(var, value) do { WRITE_ONCE(var, value); mb(); } while (0)
/*
* The group barrier in front of the rsm & ssm are necessary to ensure