diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-27 22:30:40 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:17 -0500 |
commit | 0a9cc20b9c18372ba5a9fea990f5812f3ee01e32 (patch) | |
tree | 0682a72a3d9ff641059e4adc57e8c262f7539992 /arch/x86/include/asm/mach-default | |
parent | 7fe732862d9697cc1863286fbcace9a67f231b4c (diff) |
x86, apic: clean up target_cpus methods
Impact: cleanup
Clean up all the target_cpus() namespace overlap that exists
between bigsmp, es7000, mach-default, numaq and summit - by
separating the different functions into different names.
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 ce3bc4845b98..af1607ddd2a2 100644 --- a/arch/x86/include/asm/mach-default/mach_apic.h +++ b/arch/x86/include/asm/mach-default/mach_apic.h | |||
@@ -8,7 +8,7 @@ | |||
8 | 8 | ||
9 | #define APIC_DFR_VALUE (APIC_DFR_FLAT) | 9 | #define APIC_DFR_VALUE (APIC_DFR_FLAT) |
10 | 10 | ||
11 | static inline const struct cpumask *target_cpus(void) | 11 | static inline const struct cpumask *default_target_cpus(void) |
12 | { | 12 | { |
13 | #ifdef CONFIG_SMP | 13 | #ifdef CONFIG_SMP |
14 | return cpu_online_mask; | 14 | return cpu_online_mask; |
@@ -33,7 +33,7 @@ static inline const struct cpumask *target_cpus(void) | |||
33 | #define wakeup_secondary_cpu (apic->wakeup_cpu) | 33 | #define wakeup_secondary_cpu (apic->wakeup_cpu) |
34 | extern void setup_apic_routing(void); | 34 | extern void setup_apic_routing(void); |
35 | #else | 35 | #else |
36 | #define TARGET_CPUS (target_cpus()) | 36 | #define TARGET_CPUS (default_target_cpus()) |
37 | #define wakeup_secondary_cpu wakeup_secondary_cpu_via_init | 37 | #define wakeup_secondary_cpu wakeup_secondary_cpu_via_init |
38 | /* | 38 | /* |
39 | * Set up the logical destination ID. | 39 | * Set up the logical destination ID. |