diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-08 05:14:58 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 05:14:58 -0400 |
commit | 3de352bbd86f890dd0c5e1c09a6a1b0b29e0f8ce (patch) | |
tree | d4c5eba8cd2abefd7c9f16d089393f0f5999cf63 /arch/x86/mach-visws | |
parent | 1b8ba39a3fad9c58532f6dad12c94d6e675be656 (diff) | |
parent | 9340e1ccdf7b9b22a2be7f51cd74e8b5e11961bf (diff) |
Merge branch 'x86/mpparse' into x86/devel
Conflicts:
arch/x86/Kconfig
arch/x86/kernel/io_apic_32.c
arch/x86/kernel/setup_64.c
arch/x86/mm/init_32.c
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-visws')
-rw-r--r-- | arch/x86/mach-visws/mpparse.c | 7 | ||||
-rw-r--r-- | arch/x86/mach-visws/setup.c | 6 |
2 files changed, 5 insertions, 8 deletions
diff --git a/arch/x86/mach-visws/mpparse.c b/arch/x86/mach-visws/mpparse.c index 57484e91ab90..a2fb78c0d154 100644 --- a/arch/x86/mach-visws/mpparse.c +++ b/arch/x86/mach-visws/mpparse.c | |||
@@ -8,11 +8,6 @@ | |||
8 | #include "cobalt.h" | 8 | #include "cobalt.h" |
9 | #include "mach_apic.h" | 9 | #include "mach_apic.h" |
10 | 10 | ||
11 | /* Have we found an MP table */ | ||
12 | int smp_found_config; | ||
13 | |||
14 | int pic_mode; | ||
15 | |||
16 | extern unsigned int __cpuinitdata maxcpus; | 11 | extern unsigned int __cpuinitdata maxcpus; |
17 | 12 | ||
18 | /* | 13 | /* |
@@ -76,7 +71,9 @@ void __init find_smp_config(void) | |||
76 | if (ncpus > maxcpus) | 71 | if (ncpus > maxcpus) |
77 | ncpus = maxcpus; | 72 | ncpus = maxcpus; |
78 | 73 | ||
74 | #ifdef CONFIG_X86_LOCAL_APIC | ||
79 | smp_found_config = 1; | 75 | smp_found_config = 1; |
76 | #endif | ||
80 | while (ncpus--) | 77 | while (ncpus--) |
81 | MP_processor_info(mp++); | 78 | MP_processor_info(mp++); |
82 | 79 | ||
diff --git a/arch/x86/mach-visws/setup.c b/arch/x86/mach-visws/setup.c index de4c9dbd086f..d67868ec9b7f 100644 --- a/arch/x86/mach-visws/setup.c +++ b/arch/x86/mach-visws/setup.c | |||
@@ -175,9 +175,9 @@ char * __init machine_specific_memory_setup(void) | |||
175 | sgivwfb_mem_size &= ~((1 << 20) - 1); | 175 | sgivwfb_mem_size &= ~((1 << 20) - 1); |
176 | sgivwfb_mem_phys = mem_size - gfx_mem_size; | 176 | sgivwfb_mem_phys = mem_size - gfx_mem_size; |
177 | 177 | ||
178 | add_memory_region(0, LOWMEMSIZE(), E820_RAM); | 178 | e820_add_region(0, LOWMEMSIZE(), E820_RAM); |
179 | add_memory_region(HIGH_MEMORY, mem_size - sgivwfb_mem_size - HIGH_MEMORY, E820_RAM); | 179 | e820_add_region(HIGH_MEMORY, mem_size - sgivwfb_mem_size - HIGH_MEMORY, E820_RAM); |
180 | add_memory_region(sgivwfb_mem_phys, sgivwfb_mem_size, E820_RESERVED); | 180 | e820_add_region(sgivwfb_mem_phys, sgivwfb_mem_size, E820_RESERVED); |
181 | 181 | ||
182 | return "PROM"; | 182 | return "PROM"; |
183 | } | 183 | } |