Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6383620 authored by Mika Westerberg's avatar Mika Westerberg Committed by Russell King
Browse files

ARM: 6118/1: kdump: implement machine_crash_shutdown()



Implement function machine_crash_shutdown() which disables IRQs and
saves machine state to ELF notes structure.

Signed-off-by: default avatarMika Westerberg <ext-mika.1.westerberg@nokia.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 24b776bf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -43,6 +43,10 @@ void machine_shutdown(void)

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)