summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/summit_32.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-29 11:29:22 +0100
committerIngo Molnar <mingo@elte.hu>2009-01-29 14:16:41 +0100
commit7c20dcc545d78946e40e8fab99637fe815b1d211 (patch)
treed53e3a9e8504e7b01d649702a2b164053b6539d4 /arch/x86/kernel/summit_32.c
parentb11b867f78910192fc54bd0d09148cf768c7aaad (diff)
downloadlinux-7c20dcc545d78946e40e8fab99637fe815b1d211.tar.bz2
x86, summit: consolidate code, fix
Build fix for !NUMA Summit. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/summit_32.c')
-rw-r--r--arch/x86/kernel/summit_32.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/summit_32.c b/arch/x86/kernel/summit_32.c
index 3b60dd5e57fa..84ff9ebbcc97 100644
--- a/arch/x86/kernel/summit_32.c
+++ b/arch/x86/kernel/summit_32.c
@@ -389,6 +389,7 @@ static void summit_vector_allocation_domain(int cpu, cpumask_t *retmask)
*retmask = (cpumask_t){ { [0] = APIC_ALL_CPUS, } };
}
+#ifdef CONFIG_X86_SUMMIT_NUMA
static struct rio_table_hdr *rio_table_hdr __initdata;
static struct scal_detail *scal_devs[MAX_NUMNODES] __initdata;
static struct rio_detail *rio_devs[MAX_NUMNODES*4] __initdata;
@@ -543,7 +544,7 @@ void __init setup_summit(void)
next_wpeg = 0;
} while (next_wpeg != 0);
}
-
+#endif
struct genapic apic_summit = {