diff options
Diffstat (limited to 'arch/powerpc/kernel/machine_kexec.c')
-rw-r--r-- | arch/powerpc/kernel/machine_kexec.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/machine_kexec.c b/arch/powerpc/kernel/machine_kexec.c index 6ff15f03dcc4..47905c092861 100644 --- a/arch/powerpc/kernel/machine_kexec.c +++ b/arch/powerpc/kernel/machine_kexec.c | |||
@@ -45,6 +45,18 @@ void machine_kexec_cleanup(struct kimage *image) | |||
45 | ppc_md.machine_kexec_cleanup(image); | 45 | ppc_md.machine_kexec_cleanup(image); |
46 | } | 46 | } |
47 | 47 | ||
48 | void arch_crash_save_vmcoreinfo(void) | ||
49 | { | ||
50 | |||
51 | #ifdef CONFIG_NEED_MULTIPLE_NODES | ||
52 | VMCOREINFO_SYMBOL(node_data); | ||
53 | VMCOREINFO_LENGTH(node_data, MAX_NUMNODES); | ||
54 | #endif | ||
55 | #ifndef CONFIG_NEED_MULTIPLE_NODES | ||
56 | VMCOREINFO_SYMBOL(contig_page_data); | ||
57 | #endif | ||
58 | } | ||
59 | |||
48 | /* | 60 | /* |
49 | * Do not allocate memory (or fail in any way) in machine_kexec(). | 61 | * Do not allocate memory (or fail in any way) in machine_kexec(). |
50 | * We are past the point of no return, committed to rebooting now. | 62 | * We are past the point of no return, committed to rebooting now. |