aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smpboot.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-28 00:50:47 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-28 17:20:23 -0500
commit3f57a318c36e1f24070a18df8c4971ca08d33142 (patch)
tree60e1564286a7e3ed22142cef97b8039548030827 /arch/x86/kernel/smpboot.c
parent33a201fac698a93d9d1ffa77030ba2ff38d1a3d1 (diff)
x86, apic: clean up ->apicid_to_node()
- separate the namespace - remove macros Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r--arch/x86/kernel/smpboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 3791b4ae567f..1dd4cecd4bc0 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -163,7 +163,7 @@ static void map_cpu_to_logical_apicid(void)
163{ 163{
164 int cpu = smp_processor_id(); 164 int cpu = smp_processor_id();
165 int apicid = logical_smp_processor_id(); 165 int apicid = logical_smp_processor_id();
166 int node = apicid_to_node(apicid); 166 int node = apic->apicid_to_node(apicid);
167 167
168 if (!node_online(node)) 168 if (!node_online(node))
169 node = first_online_node; 169 node = first_online_node;