Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7259888e84d5b6680c9d1f933654f4bdeed61700
Commit:     7259888e84d5b6680c9d1f933654f4bdeed61700
Parent:     d20ead9e86881bc7ae84e385f47b5196b7d93aac
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Wed Oct 17 14:28:38 2007 -0700
Committer:  Tony Luck <[EMAIL PROTECTED]>
CommitDate: Wed Oct 17 14:28:38 2007 -0700

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Tony Luck <[EMAIL PROTECTED]>
---
 arch/ia64/kernel/machine_kexec.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/ia64/kernel/machine_kexec.c b/arch/ia64/kernel/machine_kexec.c
index 0dd3b23..d6cd45f 100644
--- a/arch/ia64/kernel/machine_kexec.c
+++ b/arch/ia64/kernel/machine_kexec.c
@@ -17,6 +17,8 @@
 #include <linux/efi.h>
 #include <linux/numa.h>
 #include <linux/mmzone.h>
+
+#include <asm/numa.h>
 #include <asm/mmu_context.h>
 #include <asm/setup.h>
 #include <asm/delay.h>
@@ -127,7 +129,7 @@ void machine_kexec(struct kimage *image)
 
 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_LENGTH(pgdat_list, MAX_NUMNODES);
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to