aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/io_apic.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:24 -0500
commit8058714a41afc4c983acb274b1adf7bd3cfe7f6e (patch)
treecd600b0c20d797a989a3ee46b1a0ed8f50c5277c /arch/x86/kernel/io_apic.c
parenta21769a4461801454930a06bc18bd8249cd9e993 (diff)
x86, apic: clean up ->apicid_to_cpu_present()
- separate the namespace - remove macros Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/io_apic.c')
-rw-r--r--arch/x86/kernel/io_apic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/io_apic.c b/arch/x86/kernel/io_apic.c
index 282ea112f3cf..3d85d3d810b2 100644
--- a/arch/x86/kernel/io_apic.c
+++ b/arch/x86/kernel/io_apic.c
@@ -2155,7 +2155,7 @@ static void __init setup_ioapic_ids_from_mpc(void)
2155 mp_ioapics[apic_id].apicid = i; 2155 mp_ioapics[apic_id].apicid = i;
2156 } else { 2156 } else {
2157 physid_mask_t tmp; 2157 physid_mask_t tmp;
2158 tmp = apicid_to_cpu_present(mp_ioapics[apic_id].apicid); 2158 tmp = apic->apicid_to_cpu_present(mp_ioapics[apic_id].apicid);
2159 apic_printk(APIC_VERBOSE, "Setting %d in the " 2159 apic_printk(APIC_VERBOSE, "Setting %d in the "
2160 "phys_id_present_map\n", 2160 "phys_id_present_map\n",
2161 mp_ioapics[apic_id].apicid); 2161 mp_ioapics[apic_id].apicid);
@@ -3899,7 +3899,7 @@ int __init io_apic_get_unique_id(int ioapic, int apic_id)
3899 apic_id = i; 3899 apic_id = i;
3900 } 3900 }
3901 3901
3902 tmp = apicid_to_cpu_present(apic_id); 3902 tmp = apic->apicid_to_cpu_present(apic_id);
3903 physids_or(apic_id_map, apic_id_map, tmp); 3903 physids_or(apic_id_map, apic_id_map, tmp);
3904 3904
3905 if (reg_00.bits.ID != apic_id) { 3905 if (reg_00.bits.ID != apic_id) {