aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/system.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-06-11 02:32:07 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-06-11 02:32:07 -0400
commit357d59469c1179c30b8c425aba302346fac3594e (patch)
tree6e27fcd85967ad06072ac84788ac891cbcc10235 /include/asm-sh/system.h
parent54039591cee40ef1f440f1245ed066c3e7d54a9a (diff)
sh: Tidy up dependencies for SH-2 build.
SH-2 can presently get in to some pretty bogus states, so we tidy up the dependencies a bit and get it all building again. This gets us a bit closer to a functional allyesconfig and allmodconfig, though there are still a few things to fix up. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/system.h')
-rw-r--r--include/asm-sh/system.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh/system.h b/include/asm-sh/system.h
index fb22fc3f87ad..7c75045ae22b 100644
--- a/include/asm-sh/system.h
+++ b/include/asm-sh/system.h
@@ -126,7 +126,7 @@ static inline void sched_cacheflush(void)
126#define smp_read_barrier_depends() do { } while(0) 126#define smp_read_barrier_depends() do { } while(0)
127#endif 127#endif
128 128
129#define set_mb(var, value) do { xchg(&var, value); } while (0) 129#define set_mb(var, value) do { (void)xchg(&var, value); } while (0)
130 130
131/* 131/*
132 * Jump to P2 area. 132 * Jump to P2 area.