]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/x86/kernel/machine_kexec_32.c
Use extended crashkernel command line on i386
[net-next-2.6.git] / arch / x86 / kernel / machine_kexec_32.c
index 8459ca64bc2f9c089acca975de93434d57ad065f..11b935f4f886d34679dcf594ac8465ab2a57fe00 100644 (file)
@@ -149,28 +149,6 @@ NORET_TYPE void machine_kexec(struct kimage *image)
                        image->start, cpu_has_pae);
 }
 
-/* crashkernel=size@addr specifies the location to reserve for
- * a crash kernel.  By reserving this memory we guarantee
- * that linux never sets it up as a DMA target.
- * Useful for holding code to do something appropriate
- * after a kernel panic.
- */
-static int __init parse_crashkernel(char *arg)
-{
-       unsigned long size, base;
-       size = memparse(arg, &arg);
-       if (*arg == '@') {
-               base = memparse(arg+1, &arg);
-               /* FIXME: Do I want a sanity check
-                * to validate the memory range?
-                */
-               crashk_res.start = base;
-               crashk_res.end   = base + size - 1;
-       }
-       return 0;
-}
-early_param("crashkernel", parse_crashkernel);
-
 void arch_crash_save_vmcoreinfo(void)
 {
 #ifdef CONFIG_ARCH_DISCONTIGMEM_ENABLE