diff options
| -rw-r--r-- | arch/sh/kernel/machine_kexec.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/kernel/machine_kexec.c b/arch/sh/kernel/machine_kexec.c index ec1eadce4aaa..4703dff174d5 100644 --- a/arch/sh/kernel/machine_kexec.c +++ b/arch/sh/kernel/machine_kexec.c | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | #include <linux/kexec.h> | 13 | #include <linux/kexec.h> |
| 14 | #include <linux/delay.h> | 14 | #include <linux/delay.h> |
| 15 | #include <linux/reboot.h> | 15 | #include <linux/reboot.h> |
| 16 | #include <linux/numa.h> | ||
| 16 | #include <asm/pgtable.h> | 17 | #include <asm/pgtable.h> |
| 17 | #include <asm/pgalloc.h> | 18 | #include <asm/pgalloc.h> |
| 18 | #include <asm/mmu_context.h> | 19 | #include <asm/mmu_context.h> |
| @@ -104,3 +105,10 @@ void machine_kexec(struct kimage *image) | |||
| 104 | (*rnk)(page_list, reboot_code_buffer, image->start, vbr_reg); | 105 | (*rnk)(page_list, reboot_code_buffer, image->start, vbr_reg); |
| 105 | } | 106 | } |
| 106 | 107 | ||
| 108 | void arch_crash_save_vmcoreinfo(void) | ||
| 109 | { | ||
| 110 | #ifdef CONFIG_NUMA | ||
| 111 | VMCOREINFO_SYMBOL(node_data); | ||
| 112 | VMCOREINFO_LENGTH(node_data, MAX_NUMNODES); | ||
| 113 | #endif | ||
| 114 | } | ||
