v850: cast xchg() to void in set_rmb()
PATCH 5/8 v850: cast xchg() to void in set_rmb()
Date: 1135880405 -0500
Signed-off-by Al Viro <[email protected]>
---
include/asm-v850/system.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
00e007cf433f2b768ab095fe62fd2a2a74eebecc
include/asm-v850/system.h +1 -1
@@ -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)
Signature · 1 line
0.99.9.GIT