aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic/probe_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/apic/probe_32.c')
-rw-r--r--arch/x86/kernel/apic/probe_32.c26
1 files changed, 1 insertions, 25 deletions
diff --git a/arch/x86/kernel/apic/probe_32.c b/arch/x86/kernel/apic/probe_32.c
index c81756d8d4ec..b5254ad044ab 100644
--- a/arch/x86/kernel/apic/probe_32.c
+++ b/arch/x86/kernel/apic/probe_32.c
@@ -87,7 +87,7 @@ static int probe_default(void)
87 return 1; 87 return 1;
88} 88}
89 89
90struct apic apic_default = { 90static struct apic apic_default = {
91 91
92 .name = "default", 92 .name = "default",
93 .probe = probe_default, 93 .probe = probe_default,
@@ -151,33 +151,9 @@ struct apic apic_default = {
151 151
152apic_driver(apic_default); 152apic_driver(apic_default);
153 153
154extern struct apic apic_numaq;
155extern struct apic apic_summit;
156extern struct apic apic_bigsmp;
157extern struct apic apic_es7000;
158extern struct apic apic_es7000_cluster;
159
160struct apic *apic = &apic_default; 154struct apic *apic = &apic_default;
161EXPORT_SYMBOL_GPL(apic); 155EXPORT_SYMBOL_GPL(apic);
162 156
163static struct apic *apic_probe[] __initdata = {
164#ifdef CONFIG_X86_NUMAQ
165 &apic_numaq,
166#endif
167#ifdef CONFIG_X86_SUMMIT
168 &apic_summit,
169#endif
170#ifdef CONFIG_X86_BIGSMP
171 &apic_bigsmp,
172#endif
173#ifdef CONFIG_X86_ES7000
174 &apic_es7000,
175 &apic_es7000_cluster,
176#endif
177 &apic_default, /* must be last */
178 NULL,
179};
180
181static int cmdline_apic __initdata; 157static int cmdline_apic __initdata;
182static int __init parse_apic(char *arg) 158static int __init parse_apic(char *arg)
183{ 159{