diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-29 05:29:22 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-29 08:16:41 -0500 |
commit | 7c20dcc545d78946e40e8fab99637fe815b1d211 (patch) | |
tree | d53e3a9e8504e7b01d649702a2b164053b6539d4 /arch/x86/kernel | |
parent | b11b867f78910192fc54bd0d09148cf768c7aaad (diff) |
x86, summit: consolidate code, fix
Build fix for !NUMA Summit.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/Makefile | 2 | ||||
-rw-r--r-- | arch/x86/kernel/summit_32.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile index 37fa30bada17..a382ca6f6a17 100644 --- a/arch/x86/kernel/Makefile +++ b/arch/x86/kernel/Makefile | |||
@@ -73,7 +73,7 @@ obj-$(CONFIG_KEXEC) += relocate_kernel_$(BITS).o crash.o | |||
73 | obj-$(CONFIG_CRASH_DUMP) += crash_dump_$(BITS).o | 73 | obj-$(CONFIG_CRASH_DUMP) += crash_dump_$(BITS).o |
74 | obj-$(CONFIG_X86_NUMAQ) += numaq_32.o | 74 | obj-$(CONFIG_X86_NUMAQ) += numaq_32.o |
75 | obj-$(CONFIG_X86_ES7000) += es7000_32.o | 75 | obj-$(CONFIG_X86_ES7000) += es7000_32.o |
76 | obj-$(CONFIG_X86_SUMMIT_NUMA) += summit_32.o | 76 | obj-$(CONFIG_X86_SUMMIT) += summit_32.o |
77 | obj-y += vsmp_64.o | 77 | obj-y += vsmp_64.o |
78 | obj-$(CONFIG_KPROBES) += kprobes.o | 78 | obj-$(CONFIG_KPROBES) += kprobes.o |
79 | obj-$(CONFIG_MODULES) += module_$(BITS).o | 79 | obj-$(CONFIG_MODULES) += module_$(BITS).o |
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) | |||
389 | *retmask = (cpumask_t){ { [0] = APIC_ALL_CPUS, } }; | 389 | *retmask = (cpumask_t){ { [0] = APIC_ALL_CPUS, } }; |
390 | } | 390 | } |
391 | 391 | ||
392 | #ifdef CONFIG_X86_SUMMIT_NUMA | ||
392 | static struct rio_table_hdr *rio_table_hdr __initdata; | 393 | static struct rio_table_hdr *rio_table_hdr __initdata; |
393 | static struct scal_detail *scal_devs[MAX_NUMNODES] __initdata; | 394 | static struct scal_detail *scal_devs[MAX_NUMNODES] __initdata; |
394 | static struct rio_detail *rio_devs[MAX_NUMNODES*4] __initdata; | 395 | static struct rio_detail *rio_devs[MAX_NUMNODES*4] __initdata; |
@@ -543,7 +544,7 @@ void __init setup_summit(void) | |||
543 | next_wpeg = 0; | 544 | next_wpeg = 0; |
544 | } while (next_wpeg != 0); | 545 | } while (next_wpeg != 0); |
545 | } | 546 | } |
546 | 547 | #endif | |
547 | 548 | ||
548 | struct genapic apic_summit = { | 549 | struct genapic apic_summit = { |
549 | 550 | ||