|
@@ -17,6 +17,8 @@
|
|
#include <linux/efi.h>
|
|
#include <linux/efi.h>
|
|
#include <linux/numa.h>
|
|
#include <linux/numa.h>
|
|
#include <linux/mmzone.h>
|
|
#include <linux/mmzone.h>
|
|
|
|
+
|
|
|
|
+#include <asm/numa.h>
|
|
#include <asm/mmu_context.h>
|
|
#include <asm/mmu_context.h>
|
|
#include <asm/setup.h>
|
|
#include <asm/setup.h>
|
|
#include <asm/delay.h>
|
|
#include <asm/delay.h>
|
|
@@ -127,7 +129,7 @@ void machine_kexec(struct kimage *image)
|
|
|
|
|
|
void arch_crash_save_vmcoreinfo(void)
|
|
void arch_crash_save_vmcoreinfo(void)
|
|
{
|
|
{
|
|
-#ifdef CONFIG_ARCH_DISCONTIGMEM_ENABLE
|
|
|
|
|
|
+#if defined(CONFIG_ARCH_DISCONTIGMEM_ENABLE) && defined(CONFIG_NUMA)
|
|
VMCOREINFO_SYMBOL(pgdat_list);
|
|
VMCOREINFO_SYMBOL(pgdat_list);
|
|
VMCOREINFO_LENGTH(pgdat_list, MAX_NUMNODES);
|
|
VMCOREINFO_LENGTH(pgdat_list, MAX_NUMNODES);
|
|
|
|
|