]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/proc/vmcore.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6
[linux-2.6-omap-h63xx.git] / fs / proc / vmcore.c
index 4c65ca432d30797d760493b1fd85bb296fdda1b2..cd9ca67f841bd38d6256f14eccfd3fd6d8174522 100644 (file)
@@ -644,7 +644,7 @@ static int __init vmcore_init(void)
        int rc = 0;
 
        /* If elfcorehdr= has been passed in cmdline, then capture the dump.*/
-       if (!(elfcorehdr_addr < ELFCORE_ADDR_MAX))
+       if (!(is_vmcore_usable()))
                return rc;
        rc = parse_crash_elf_headers();
        if (rc) {