Merge branches 'pm-sleep', 'pm-cpufreq', 'pm-core' and 'pm-opp'
[linux-2.6-block.git] / fs / proc / vmcore.c
index 8afe10cf7df80f042ec1c3a34b3c3d412f5a3fce..8ab782d8b33ddc7f4ac9e2fec72230ca0d4a060b 100644 (file)
@@ -1071,7 +1071,7 @@ static int __init parse_crash_elf32_headers(void)
        /* Do some basic Verification. */
        if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 ||
                (ehdr.e_type != ET_CORE) ||
-               !elf_check_arch(&ehdr) ||
+               !vmcore_elf32_check_arch(&ehdr) ||
                ehdr.e_ident[EI_CLASS] != ELFCLASS32||
                ehdr.e_ident[EI_VERSION] != EV_CURRENT ||
                ehdr.e_version != EV_CURRENT ||