diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-28 00:50:47 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:22 -0500 |
commit | 72ce016583916fb7ffcbaa6a3e1f8f731b79a865 (patch) | |
tree | cd05f735f6b47278ecacebca6394dccf649c9f7e /arch/x86/include/asm/mach-default | |
parent | d190cb87c4503014353f2310c4bfa2268fa7111d (diff) |
x86, apic: clean up ->setup_apic_routing()
- separate the namespace
- remove macros
- remove namespace clash on 64-bit
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/mach-default')
-rw-r--r-- | arch/x86/include/asm/mach-default/mach_apic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/mach-default/mach_apic.h b/arch/x86/include/asm/mach-default/mach_apic.h index 7abdaae06f24..d44677463046 100644 --- a/arch/x86/include/asm/mach-default/mach_apic.h +++ b/arch/x86/include/asm/mach-default/mach_apic.h | |||
@@ -25,7 +25,7 @@ static inline const struct cpumask *default_target_cpus(void) | |||
25 | #define read_apic_id() (GET_APIC_ID(apic_read(APIC_ID))) | 25 | #define read_apic_id() (GET_APIC_ID(apic_read(APIC_ID))) |
26 | #define send_IPI_self (apic->send_IPI_self) | 26 | #define send_IPI_self (apic->send_IPI_self) |
27 | #define wakeup_secondary_cpu (apic->wakeup_cpu) | 27 | #define wakeup_secondary_cpu (apic->wakeup_cpu) |
28 | extern void setup_apic_routing(void); | 28 | extern void default_setup_apic_routing(void); |
29 | #else | 29 | #else |
30 | #define wakeup_secondary_cpu wakeup_secondary_cpu_via_init | 30 | #define wakeup_secondary_cpu wakeup_secondary_cpu_via_init |
31 | /* | 31 | /* |
@@ -70,7 +70,7 @@ static inline u32 phys_pkg_id(u32 cpuid_apic, int index_msb) | |||
70 | return cpuid_apic >> index_msb; | 70 | return cpuid_apic >> index_msb; |
71 | } | 71 | } |
72 | 72 | ||
73 | static inline void setup_apic_routing(void) | 73 | static inline void default_setup_apic_routing(void) |
74 | { | 74 | { |
75 | #ifdef CONFIG_X86_IO_APIC | 75 | #ifdef CONFIG_X86_IO_APIC |
76 | printk("Enabling APIC mode: %s. Using %d I/O APICs\n", | 76 | printk("Enabling APIC mode: %s. Using %d I/O APICs\n", |