summaryrefslogtreecommitdiffstats
path: root/include/asm-sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-12-17 08:00:25 +0100
committerPaul Mundt <lethal@linux-sh.org>2008-01-28 05:19:00 +0100
commit003c6af6c6370cc3315ab828a0e6618f00713d96 (patch)
tree0e408eda1941ba5a3dcdb9e6f58031e1c69f4860 /include/asm-sh
parentsh: Kill off pgtable.h from scatterlist.h. (diff)
downloadlinux-003c6af6c6370cc3315ab828a0e6618f00713d96.tar.xz
linux-003c6af6c6370cc3315ab828a0e6618f00713d96.zip
sh: Fix up binfmt_flat compile warnings.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh')
-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 dc4f5950dafa..0cc800299e06 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 */