mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 5/8] v850: cast xchg() to void in set_rmb()
@ 2006-02-08 20:01 Al Viro
  0 siblings, 0 replies; only message in thread
From: Al Viro @ 2006-02-08 20:01 UTC (permalink / raw)
  To: linux-kernel

Date: 1135880405 -0500

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

---

 include/asm-v850/system.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

00e007cf433f2b768ab095fe62fd2a2a74eebecc
diff --git a/include/asm-v850/system.h b/include/asm-v850/system.h
index 107decb..cda8fa6 100644
--- a/include/asm-v850/system.h
+++ b/include/asm-v850/system.h
@@ -68,7 +68,7 @@ static inline int irqs_disabled (void)
 #define rmb()			mb ()
 #define wmb()			mb ()
 #define read_barrier_depends()	((void)0)
-#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)
 #define set_wmb(var, value)	do { var = value; wmb (); } while (0)
 
-- 
0.99.9.GIT


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-08 20:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-08 20:01 [PATCH 5/8] v850: cast xchg() to void in set_rmb() Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®