summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/elf.h
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@iki.fi>2010-11-18 19:13:19 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-11-30 13:40:01 +0000
commit4b3bf7aef94fc337610d78fce0d960e2ee1d5a8f (patch)
treec36e2f870febf221283cfe8b534708696edc6d36 /arch/arm/include/asm/elf.h
parent9833c39400c3e6ee19daeded6910df648741611e (diff)
downloadlinux-4b3bf7aef94fc337610d78fce0d960e2ee1d5a8f.tar.bz2
ARM: 6486/1: provide zero vmcore_elf64_check_arch()
Since we don't support 64-bit ELF vmcores. This also prevents the following warning: fs/proc/vmcore.c: In function 'parse_crash_elf64_headers': fs/proc/vmcore.c:502: warning: passing argument 1 of 'elf_check_arch' from incompatible pointer type Signed-off-by: Mika Westerberg <mika.westerberg@iki.fi> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/elf.h')
-rw-r--r--arch/arm/include/asm/elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/elf.h b/arch/arm/include/asm/elf.h
index 8bb66bca2e3e..c3cd8755e648 100644
--- a/arch/arm/include/asm/elf.h
+++ b/arch/arm/include/asm/elf.h
@@ -99,6 +99,8 @@ struct elf32_hdr;
extern int elf_check_arch(const struct elf32_hdr *);
#define elf_check_arch elf_check_arch
+#define vmcore_elf64_check_arch(x) (0)
+
extern int arm_elf_read_implies_exec(const struct elf32_hdr *, int);
#define elf_read_implies_exec(ex,stk) arm_elf_read_implies_exec(&(ex), stk)