aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/io_apic_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/io_apic_64.c')
-rw-r--r--arch/x86/kernel/io_apic_64.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/kernel/io_apic_64.c b/arch/x86/kernel/io_apic_64.c
index 6dd33628f28a..0ac92d6acf57 100644
--- a/arch/x86/kernel/io_apic_64.c
+++ b/arch/x86/kernel/io_apic_64.c
@@ -1068,8 +1068,7 @@ void __apicdebuginit print_local_APIC(void * dummy)
1068 1068
1069 printk("\n" KERN_DEBUG "printing local APIC contents on CPU#%d/%d:\n", 1069 printk("\n" KERN_DEBUG "printing local APIC contents on CPU#%d/%d:\n",
1070 smp_processor_id(), hard_smp_processor_id()); 1070 smp_processor_id(), hard_smp_processor_id());
1071 v = apic_read(APIC_ID); 1071 printk(KERN_INFO "... APIC ID: %08x (%01x)\n", v, GET_APIC_ID(read_apic_id()));
1072 printk(KERN_INFO "... APIC ID: %08x (%01x)\n", v, GET_APIC_ID(v));
1073 v = apic_read(APIC_LVR); 1072 v = apic_read(APIC_LVR);
1074 printk(KERN_INFO "... APIC VERSION: %08x\n", v); 1073 printk(KERN_INFO "... APIC VERSION: %08x\n", v);
1075 ver = GET_APIC_VERSION(v); 1074 ver = GET_APIC_VERSION(v);
@@ -1263,7 +1262,7 @@ void disable_IO_APIC(void)
1263 entry.dest_mode = 0; /* Physical */ 1262 entry.dest_mode = 0; /* Physical */
1264 entry.delivery_mode = dest_ExtINT; /* ExtInt */ 1263 entry.delivery_mode = dest_ExtINT; /* ExtInt */
1265 entry.vector = 0; 1264 entry.vector = 0;
1266 entry.dest = GET_APIC_ID(apic_read(APIC_ID)); 1265 entry.dest = GET_APIC_ID(read_apic_id());
1267 1266
1268 /* 1267 /*
1269 * Add it to the IO-APIC irq-routing table: 1268 * Add it to the IO-APIC irq-routing table: