summaryrefslogtreecommitdiffstats
path: root/include/asm-sh64/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh64/system.h')
-rw-r--r--include/asm-sh64/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh64/system.h b/include/asm-sh64/system.h
index 87ef6f1..b1598c2 100644
--- a/include/asm-sh64/system.h
+++ b/include/asm-sh64/system.h
@@ -64,7 +64,7 @@ extern void __xchg_called_with_bad_pointer(void);
#define smp_read_barrier_depends() do { } while (0)
#endif /* CONFIG_SMP */
-#define set_rmb(var, value) do { xchg(&var, value); } while (0)
+#define set_rmb(var, value) do { (void)xchg(&var, value); } while (0)
#define set_mb(var, value) set_rmb(var, value)
/* Interrupt Control */
OpenPOWER on IntegriCloud