X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fproc%2Fvmcore.c;h=9ac0f5e064e09e99f58b428e933b2903a893a5b9;hb=e43fe686e48835ca027559a068bbe0b6d264a254;hp=d96050728c43841c048ff3c4a181c1431f918e10;hpb=075395d228641646159dae3dd170fa3fc6ff477a;p=linux-2.6 diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c index d96050728c..9ac0f5e064 100644 --- a/fs/proc/vmcore.c +++ b/fs/proc/vmcore.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include @@ -514,7 +513,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 ||