diff options
Diffstat (limited to 'arch/x86/kernel/apic/probe_32.c')
-rw-r--r-- | arch/x86/kernel/apic/probe_32.c | 26 |
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 | ||
90 | struct apic apic_default = { | 90 | static 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 | ||
152 | apic_driver(apic_default); | 152 | apic_driver(apic_default); |
153 | 153 | ||
154 | extern struct apic apic_numaq; | ||
155 | extern struct apic apic_summit; | ||
156 | extern struct apic apic_bigsmp; | ||
157 | extern struct apic apic_es7000; | ||
158 | extern struct apic apic_es7000_cluster; | ||
159 | |||
160 | struct apic *apic = &apic_default; | 154 | struct apic *apic = &apic_default; |
161 | EXPORT_SYMBOL_GPL(apic); | 155 | EXPORT_SYMBOL_GPL(apic); |
162 | 156 | ||
163 | static 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 | |||
181 | static int cmdline_apic __initdata; | 157 | static int cmdline_apic __initdata; |
182 | static int __init parse_apic(char *arg) | 158 | static int __init parse_apic(char *arg) |
183 | { | 159 | { |