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:24 -0500 |
commit | a21769a4461801454930a06bc18bd8249cd9e993 (patch) | |
tree | 8b879f9a6d1c957d17a155ff865a0f7c8a18e257 /arch/x86/include/asm/bigsmp/apic.h | |
parent | 5257c5111ca21c8e857b65a79ab986b313e1c362 (diff) |
x86, apic: clean up ->cpu_present_to_apicid()
- separate the namespace
- remove macros
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/bigsmp/apic.h')
-rw-r--r-- | arch/x86/include/asm/bigsmp/apic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/bigsmp/apic.h b/arch/x86/include/asm/bigsmp/apic.h index d0d894ff7d3e..eea5e9788ddd 100644 --- a/arch/x86/include/asm/bigsmp/apic.h +++ b/arch/x86/include/asm/bigsmp/apic.h | |||
@@ -67,7 +67,7 @@ static inline int bigsmp_apicid_to_node(int logical_apicid) | |||
67 | return apicid_2_node[hard_smp_processor_id()]; | 67 | return apicid_2_node[hard_smp_processor_id()]; |
68 | } | 68 | } |
69 | 69 | ||
70 | static inline int cpu_present_to_apicid(int mps_cpu) | 70 | static inline int bigsmp_cpu_present_to_apicid(int mps_cpu) |
71 | { | 71 | { |
72 | if (mps_cpu < nr_cpu_ids) | 72 | if (mps_cpu < nr_cpu_ids) |
73 | return (int) per_cpu(x86_bios_cpu_apicid, mps_cpu); | 73 | return (int) per_cpu(x86_bios_cpu_apicid, mps_cpu); |