aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-10-17 17:28:38 -0400
committerTony Luck <tony.luck@intel.com>2007-10-17 17:28:38 -0400
commit7259888e84d5b6680c9d1f933654f4bdeed61700 (patch)
treed9e0f411bebe1ceb1beaea47ac641240d288a7a0 /arch/ia64/kernel
parentd20ead9e86881bc7ae84e385f47b5196b7d93aac (diff)
[IA64] fix non-numa build
arch/ia64/kernel/machine_kexec.c: In function `arch_crash_save_vmcoreinfo': arch/ia64/kernel/machine_kexec.c:131: error: `pgdat_list' undeclared (first use in this function) arch/ia64/kernel/machine_kexec.c:131: error: (Each undeclared identifier is reported only once arch/ia64/kernel/machine_kexec.c:131: error: for each function it appears in.) arch/ia64/kernel/machine_kexec.c:134: error: `node_memblk' undeclared (first use in this function) arch/ia64/kernel/machine_kexec.c:135: error: `NR_NODE_MEMBLKS' undeclared (first use in this function) arch/ia64/kernel/machine_kexec.c:136: error: invalid application of `sizeof' to incomplete type `node_memblk_s' arch/ia64/kernel/machine_kexec.c:137: error: dereferencing pointer to incomplete type arch/ia64/kernel/machine_kexec.c:138: error: dereferencing pointer to incomplete type make[1]: *** [arch/ia64/kernel/machine_kexec.o] Error 1 Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel')
-rw-r--r--arch/ia64/kernel/machine_kexec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/ia64/kernel/machine_kexec.c b/arch/ia64/kernel/machine_kexec.c
index 0dd3b2394cdd..d6cd45f4c6c7 100644
--- a/arch/ia64/kernel/machine_kexec.c
+++ b/arch/ia64/kernel/machine_kexec.c
@@ -17,6 +17,8 @@
17#include <linux/efi.h> 17#include <linux/efi.h>
18#include <linux/numa.h> 18#include <linux/numa.h>
19#include <linux/mmzone.h> 19#include <linux/mmzone.h>
20
21#include <asm/numa.h>
20#include <asm/mmu_context.h> 22#include <asm/mmu_context.h>
21#include <asm/setup.h> 23#include <asm/setup.h>
22#include <asm/delay.h> 24#include <asm/delay.h>
@@ -127,7 +129,7 @@ void machine_kexec(struct kimage *image)
127 129
128void arch_crash_save_vmcoreinfo(void) 130void arch_crash_save_vmcoreinfo(void)
129{ 131{
130#ifdef CONFIG_ARCH_DISCONTIGMEM_ENABLE 132#if defined(CONFIG_ARCH_DISCONTIGMEM_ENABLE) && defined(CONFIG_NUMA)
131 VMCOREINFO_SYMBOL(pgdat_list); 133 VMCOREINFO_SYMBOL(pgdat_list);
132 VMCOREINFO_LENGTH(pgdat_list, MAX_NUMNODES); 134 VMCOREINFO_LENGTH(pgdat_list, MAX_NUMNODES);
133 135