diff options
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 | } |