sh: Fix up binfmt_flat compile warnings.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 17 Dec 2007 07:00:25 +0000 (16:00 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jan 2008 04:19:00 +0000 (13:19 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/flat.h

index dc4f5950dafaab9a074c9845c56b2f4de6f72abc..0cc800299e06176ddda13085fa5369a48e19fdf1 100644 (file)
@@ -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 */