diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-28 11:50:18 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:37 -0500 |
commit | 328386d7ab600aa0993a1226f5817ac30a735724 (patch) | |
tree | 884f3504d57f1a88c51768140abb91a1abb9bf05 /arch/x86/include/asm | |
parent | 1f75ed0c1311a50ed393bcac258de65680d360e5 (diff) |
x86, smp: refactor ->wake_cpu
- remove macro wrappers
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/mach-default/mach_apic.h | 2 | ||||
-rw-r--r-- | arch/x86/include/asm/mach-generic/mach_apic.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/mach-default/mach_apic.h b/arch/x86/include/asm/mach-default/mach_apic.h index b60b767d5be0..bae053cdcde5 100644 --- a/arch/x86/include/asm/mach-default/mach_apic.h +++ b/arch/x86/include/asm/mach-default/mach_apic.h | |||
@@ -19,10 +19,8 @@ static inline const struct cpumask *default_target_cpus(void) | |||
19 | #ifdef CONFIG_X86_64 | 19 | #ifdef CONFIG_X86_64 |
20 | #include <asm/genapic.h> | 20 | #include <asm/genapic.h> |
21 | #define read_apic_id() (apic->get_apic_id(apic_read(APIC_ID))) | 21 | #define read_apic_id() (apic->get_apic_id(apic_read(APIC_ID))) |
22 | #define wakeup_secondary_cpu (apic->wakeup_cpu) | ||
23 | extern void default_setup_apic_routing(void); | 22 | extern void default_setup_apic_routing(void); |
24 | #else | 23 | #else |
25 | #define wakeup_secondary_cpu wakeup_secondary_cpu_via_init | ||
26 | /* | 24 | /* |
27 | * Set up the logical destination ID. | 25 | * Set up the logical destination ID. |
28 | * | 26 | * |
diff --git a/arch/x86/include/asm/mach-generic/mach_apic.h b/arch/x86/include/asm/mach-generic/mach_apic.h index ca460e459913..96f217f819e3 100644 --- a/arch/x86/include/asm/mach-generic/mach_apic.h +++ b/arch/x86/include/asm/mach-generic/mach_apic.h | |||
@@ -3,8 +3,6 @@ | |||
3 | 3 | ||
4 | #include <asm/genapic.h> | 4 | #include <asm/genapic.h> |
5 | 5 | ||
6 | #define wakeup_secondary_cpu (apic->wakeup_cpu) | ||
7 | |||
8 | extern void generic_bigsmp_probe(void); | 6 | extern void generic_bigsmp_probe(void); |
9 | 7 | ||
10 | #endif /* _ASM_X86_MACH_GENERIC_MACH_APIC_H */ | 8 | #endif /* _ASM_X86_MACH_GENERIC_MACH_APIC_H */ |