diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-27 22:32:51 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:17 -0500 |
commit | fe402e1f2b67a63f1e53ab2a316fc20f7ca4ec91 (patch) | |
tree | 2a903e99aee78879b538f38676d30a4a4d9fde0e /arch/x86/include/asm/mach-default | |
parent | 0a9cc20b9c18372ba5a9fea990f5812f3ee01e32 (diff) |
x86, apic: clean up / remove TARGET_CPUS
Impact: cleanup
use apic->target_cpus() directly instead of the TARGET_CPUS wrapper.
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 | 2 |
1 files changed, 0 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 af1607ddd2a2..77a972475878 100644 --- a/arch/x86/include/asm/mach-default/mach_apic.h +++ b/arch/x86/include/asm/mach-default/mach_apic.h | |||
@@ -22,7 +22,6 @@ static inline const struct cpumask *default_target_cpus(void) | |||
22 | 22 | ||
23 | #ifdef CONFIG_X86_64 | 23 | #ifdef CONFIG_X86_64 |
24 | #include <asm/genapic.h> | 24 | #include <asm/genapic.h> |
25 | #define TARGET_CPUS (apic->target_cpus()) | ||
26 | #define init_apic_ldr (apic->init_apic_ldr) | 25 | #define init_apic_ldr (apic->init_apic_ldr) |
27 | #define cpu_mask_to_apicid (apic->cpu_mask_to_apicid) | 26 | #define cpu_mask_to_apicid (apic->cpu_mask_to_apicid) |
28 | #define cpu_mask_to_apicid_and (apic->cpu_mask_to_apicid_and) | 27 | #define cpu_mask_to_apicid_and (apic->cpu_mask_to_apicid_and) |
@@ -33,7 +32,6 @@ static inline const struct cpumask *default_target_cpus(void) | |||
33 | #define wakeup_secondary_cpu (apic->wakeup_cpu) | 32 | #define wakeup_secondary_cpu (apic->wakeup_cpu) |
34 | extern void setup_apic_routing(void); | 33 | extern void setup_apic_routing(void); |
35 | #else | 34 | #else |
36 | #define TARGET_CPUS (default_target_cpus()) | ||
37 | #define wakeup_secondary_cpu wakeup_secondary_cpu_via_init | 35 | #define wakeup_secondary_cpu wakeup_secondary_cpu_via_init |
38 | /* | 36 | /* |
39 | * Set up the logical destination ID. | 37 | * Set up the logical destination ID. |