aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mach-es7000
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-08 21:31:54 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-10 05:34:42 -0400
commitd49c4288407b2ffa8cab270cb5bc6882abe969f6 (patch)
tree8ad69dcc6f70ab18a4dfdf8d39dc4dff96ae1fd9 /arch/x86/mach-es7000
parente0da33646826b66ef933d47ea2fb7a693fd849bf (diff)
x86: make generic arch support NUMAQ
... so it could fall back to normal numa and we'd reduce the impact of the NUMAQ subarch. NUMAQ depends on GENERICARCH also decouple genericarch numa from acpi. also make it fall back to bigsmp if apicid > 8. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-es7000')
-rw-r--r--arch/x86/mach-es7000/Makefile1
-rw-r--r--arch/x86/mach-es7000/es7000plat.c47
2 files changed, 0 insertions, 48 deletions
diff --git a/arch/x86/mach-es7000/Makefile b/arch/x86/mach-es7000/Makefile
index 69dd4da218dc..3ef8b43b62fc 100644
--- a/arch/x86/mach-es7000/Makefile
+++ b/arch/x86/mach-es7000/Makefile
@@ -3,4 +3,3 @@
3# 3#
4 4
5obj-$(CONFIG_X86_ES7000) := es7000plat.o 5obj-$(CONFIG_X86_ES7000) := es7000plat.o
6obj-$(CONFIG_X86_GENERICARCH) := es7000plat.o
diff --git a/arch/x86/mach-es7000/es7000plat.c b/arch/x86/mach-es7000/es7000plat.c
index a41c77a47227..4354ce804889 100644
--- a/arch/x86/mach-es7000/es7000plat.c
+++ b/arch/x86/mach-es7000/es7000plat.c
@@ -177,53 +177,6 @@ find_unisys_acpi_oem_table(unsigned long *oem_addr)
177} 177}
178#endif 178#endif
179 179
180/*
181 * This file also gets compiled if CONFIG_X86_GENERICARCH is set. Generic
182 * arch already has got following function definitions (asm-generic/es7000.c)
183 * hence no need to define these for that case.
184 */
185#ifndef CONFIG_X86_GENERICARCH
186void es7000_sw_apic(void);
187void __init enable_apic_mode(void)
188{
189 es7000_sw_apic();
190 return;
191}
192
193__init int mps_oem_check(struct mp_config_table *mpc, char *oem,
194 char *productid)
195{
196 if (mpc->mpc_oemptr) {
197 struct mp_config_oemtable *oem_table =
198 (struct mp_config_oemtable *)mpc->mpc_oemptr;
199 if (!strncmp(oem, "UNISYS", 6))
200 return parse_unisys_oem((char *)oem_table);
201 }
202 return 0;
203}
204#ifdef CONFIG_ACPI
205/* Hook from generic ACPI tables.c */
206int __init acpi_madt_oem_check(char *oem_id, char *oem_table_id)
207{
208 unsigned long oem_addr;
209 if (!find_unisys_acpi_oem_table(&oem_addr)) {
210 if (es7000_check_dsdt())
211 return parse_unisys_oem((char *)oem_addr);
212 else {
213 setup_unisys();
214 return 1;
215 }
216 }
217 return 0;
218}
219#else
220int __init acpi_madt_oem_check(char *oem_id, char *oem_table_id)
221{
222 return 0;
223}
224#endif
225#endif /* COFIG_X86_GENERICARCH */
226
227static void 180static void
228es7000_spin(int n) 181es7000_spin(int n)
229{ 182{