From: Paul Mundt Date: Mon, 17 Dec 2007 07:00:25 +0000 (+0900) Subject: sh: Fix up binfmt_flat compile warnings. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=003c6af6c6370cc3315ab828a0e6618f00713d96;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git sh: Fix up binfmt_flat compile warnings. Signed-off-by: Paul Mundt --- 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 */