aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-12-17 16:00:25 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-01-28 13:19:00 +0900
commit003c6af6c6370cc3315ab828a0e6618f00713d96 (patch)
tree0e408eda1941ba5a3dcdb9e6f58031e1c69f4860 /include
parente06712df7792165d12392bc1fdda6bf384e1313b (diff)
sh: Fix up binfmt_flat compile warnings.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-sh/flat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh/flat.h b/include/asm-sh/flat.h
index dc4f5950daf..0cc800299e0 100644
--- a/include/asm-sh/flat.h
+++ b/include/asm-sh/flat.h
@@ -19,6 +19,6 @@
#define flat_get_addr_from_rp(rp, relval, flags, p) get_unaligned(rp)
#define flat_put_addr_at_rp(rp, val, relval) put_unaligned(val,rp)
#define flat_get_relocate_addr(rel) (rel)
-#define flat_set_persistent(relval, p) 0
+#define flat_set_persistent(relval, p) ({ (void)p; 0; })
#endif /* __ASM_SH_FLAT_H */