summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/flat.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-10-22 22:56:09 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-10-22 22:56:09 +0100
commitb43b1ffa82aa0d4d13b5ebedcc743dfaa4c2a19f (patch)
tree8832cbb308daf982830ddcbfd87644ae985d4151 /arch/arm/include/asm/flat.h
parent00b7dede8bc3881b29f2efbcae1355fc769252ab (diff)
parent8e7fc18b5eacc37b6e6fcf486ec4eafbfef91738 (diff)
Merge tag 'fixes-for-rmk' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc into fixes
Diffstat (limited to 'arch/arm/include/asm/flat.h')
-rw-r--r--arch/arm/include/asm/flat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/flat.h b/arch/arm/include/asm/flat.h
index 59426a4595c9..e847d23351ed 100644
--- a/arch/arm/include/asm/flat.h
+++ b/arch/arm/include/asm/flat.h
@@ -8,7 +8,7 @@
#define flat_argvp_envp_on_stack() 1
#define flat_old_ram_flag(flags) (flags)
#define flat_reloc_valid(reloc, size) ((reloc) <= (size))
-#define flat_get_addr_from_rp(rp, relval, flags, persistent) get_unaligned(rp)
+#define flat_get_addr_from_rp(rp, relval, flags, persistent) ((void)persistent,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