|
@@ -43,6 +43,10 @@ void machine_shutdown(void)
|
|
|
|
|
|
void machine_crash_shutdown(struct pt_regs *regs)
|
|
void machine_crash_shutdown(struct pt_regs *regs)
|
|
{
|
|
{
|
|
|
|
+ local_irq_disable();
|
|
|
|
+ crash_save_cpu(regs, smp_processor_id());
|
|
|
|
+
|
|
|
|
+ printk(KERN_INFO "Loading crashdump kernel...\n");
|
|
}
|
|
}
|
|
|
|
|
|
void machine_kexec(struct kimage *image)
|
|
void machine_kexec(struct kimage *image)
|