X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=fs%2Fproc%2Fvmcore.c;h=523e1098ae88f4d85fe87f9df388249e46af9adf;hb=5cefcab3db2b13093480f2a42bf081574dd72d3d;hp=20d4b2237fcefd482112a3752669fe87004884bf;hpb=88dd9c16cecbd105bbe7711b6120333f6f7b5474;p=powerpc.git diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c index 20d4b2237f..523e1098ae 100644 --- a/fs/proc/vmcore.c +++ b/fs/proc/vmcore.c @@ -7,7 +7,6 @@ * */ -#include #include #include #include @@ -515,7 +514,7 @@ static int __init parse_crash_elf64_headers(void) /* Do some basic Verification. */ if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 || (ehdr.e_type != ET_CORE) || - !elf_check_arch(&ehdr) || + !vmcore_elf_check_arch(&ehdr) || ehdr.e_ident[EI_CLASS] != ELFCLASS64 || ehdr.e_ident[EI_VERSION] != EV_CURRENT || ehdr.e_version != EV_CURRENT ||