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:23 -0500 |
commit | 5257c5111ca21c8e857b65a79ab986b313e1c362 (patch) | |
tree | 0d48a9c4a0e295e24647818c21896941cef0286c /arch/x86/include/asm/mach-default | |
parent | 3f57a318c36e1f24070a18df8c4971ca08d33142 (diff) |
x86, apic: clean up ->cpu_to_logical_apicid()
- separate the namespace
- remove macros
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, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/mach-default/mach_apic.h b/arch/x86/include/asm/mach-default/mach_apic.h index 2f78209d972c..eae3e4b6ed04 100644 --- a/arch/x86/include/asm/mach-default/mach_apic.h +++ b/arch/x86/include/asm/mach-default/mach_apic.h | |||
@@ -105,7 +105,7 @@ static inline physid_mask_t default_ioapic_phys_id_map(physid_mask_t phys_map) | |||
105 | } | 105 | } |
106 | 106 | ||
107 | /* Mapping from cpu number to logical apicid */ | 107 | /* Mapping from cpu number to logical apicid */ |
108 | static inline int cpu_to_logical_apicid(int cpu) | 108 | static inline int default_cpu_to_logical_apicid(int cpu) |
109 | { | 109 | { |
110 | return 1 << cpu; | 110 | return 1 << cpu; |
111 | } | 111 | } |