diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-02-17 08:36:42 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-17 11:52:42 -0500 |
commit | 28aa29eeb3918f820b914679cfc4404972f2df32 (patch) | |
tree | fdab61ae7ee46424f8b60c1b668b136c2adfb4e4 /arch/x86/include/asm/genapic.h | |
parent | 7d01d32d3b9becd6deba318b718db3d9fc181d23 (diff) |
remove: genapic prepare
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/genapic.h')
-rw-r--r-- | arch/x86/include/asm/genapic.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/arch/x86/include/asm/genapic.h b/arch/x86/include/asm/genapic.h index a6d0b00a544c..9b874a386837 100644 --- a/arch/x86/include/asm/genapic.h +++ b/arch/x86/include/asm/genapic.h | |||
@@ -168,8 +168,6 @@ extern void apic_send_IPI_self(int vector); | |||
168 | extern struct genapic apic_x2apic_uv_x; | 168 | extern struct genapic apic_x2apic_uv_x; |
169 | DECLARE_PER_CPU(int, x2apic_extra_bits); | 169 | DECLARE_PER_CPU(int, x2apic_extra_bits); |
170 | 170 | ||
171 | extern void default_setup_apic_routing(void); | ||
172 | |||
173 | extern int default_cpu_present_to_apicid(int mps_cpu); | 171 | extern int default_cpu_present_to_apicid(int mps_cpu); |
174 | extern int default_check_phys_apicid_present(int boot_cpu_physical_apicid); | 172 | extern int default_check_phys_apicid_present(int boot_cpu_physical_apicid); |
175 | #endif | 173 | #endif |
@@ -211,10 +209,9 @@ static inline unsigned int read_apic_id(void) | |||
211 | return apic->get_apic_id(reg); | 209 | return apic->get_apic_id(reg); |
212 | } | 210 | } |
213 | 211 | ||
214 | #ifdef CONFIG_X86_64 | ||
215 | extern void default_setup_apic_routing(void); | 212 | extern void default_setup_apic_routing(void); |
216 | #else | ||
217 | 213 | ||
214 | #ifdef CONFIG_X86_32 | ||
218 | /* | 215 | /* |
219 | * Set up the logical destination ID. | 216 | * Set up the logical destination ID. |
220 | * | 217 | * |
@@ -251,14 +248,6 @@ static inline int default_phys_pkg_id(int cpuid_apic, int index_msb) | |||
251 | return cpuid_apic >> index_msb; | 248 | return cpuid_apic >> index_msb; |
252 | } | 249 | } |
253 | 250 | ||
254 | static inline void default_setup_apic_routing(void) | ||
255 | { | ||
256 | #ifdef CONFIG_X86_IO_APIC | ||
257 | printk("Enabling APIC mode: %s. Using %d I/O APICs\n", | ||
258 | "Flat", nr_ioapics); | ||
259 | #endif | ||
260 | } | ||
261 | |||
262 | extern int default_apicid_to_node(int logical_apicid); | 251 | extern int default_apicid_to_node(int logical_apicid); |
263 | 252 | ||
264 | #endif | 253 | #endif |