diff options
Diffstat (limited to 'arch/x86/kernel/io_apic_32.c')
-rw-r--r-- | arch/x86/kernel/io_apic_32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/io_apic_32.c b/arch/x86/kernel/io_apic_32.c index 8ed6eb967652..bfebe7a1966d 100644 --- a/arch/x86/kernel/io_apic_32.c +++ b/arch/x86/kernel/io_apic_32.c | |||
@@ -1482,8 +1482,8 @@ void /*__init*/ print_local_APIC(void * dummy) | |||
1482 | 1482 | ||
1483 | printk("\n" KERN_DEBUG "printing local APIC contents on CPU#%d/%d:\n", | 1483 | printk("\n" KERN_DEBUG "printing local APIC contents on CPU#%d/%d:\n", |
1484 | smp_processor_id(), hard_smp_processor_id()); | 1484 | smp_processor_id(), hard_smp_processor_id()); |
1485 | v = apic_read(APIC_ID); | 1485 | printk(KERN_INFO "... APIC ID: %08x (%01x)\n", v, |
1486 | printk(KERN_INFO "... APIC ID: %08x (%01x)\n", v, GET_APIC_ID(v)); | 1486 | GET_APIC_ID(read_apic_id())); |
1487 | v = apic_read(APIC_LVR); | 1487 | v = apic_read(APIC_LVR); |
1488 | printk(KERN_INFO "... APIC VERSION: %08x\n", v); | 1488 | printk(KERN_INFO "... APIC VERSION: %08x\n", v); |
1489 | ver = GET_APIC_VERSION(v); | 1489 | ver = GET_APIC_VERSION(v); |
@@ -1692,7 +1692,7 @@ void disable_IO_APIC(void) | |||
1692 | entry.delivery_mode = dest_ExtINT; /* ExtInt */ | 1692 | entry.delivery_mode = dest_ExtINT; /* ExtInt */ |
1693 | entry.vector = 0; | 1693 | entry.vector = 0; |
1694 | entry.dest.physical.physical_dest = | 1694 | entry.dest.physical.physical_dest = |
1695 | GET_APIC_ID(apic_read(APIC_ID)); | 1695 | GET_APIC_ID(read_apic_id()); |
1696 | 1696 | ||
1697 | /* | 1697 | /* |
1698 | * Add it to the IO-APIC irq-routing table: | 1698 | * Add it to the IO-APIC irq-routing table: |