diff options
author | Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> | 2008-07-30 20:36:48 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-31 17:54:50 -0400 |
commit | 7ab6af7ab69df8c9c5fbc380004fb81187742096 (patch) | |
tree | aa8da9672d5395a37c49d563263dcbda5e52add9 /arch/x86/kernel/io_apic_32.c | |
parent | 10a010f6953b5a14ba2f0be40a4fce1bea220875 (diff) |
x86_32: use apic_ops at print_local_APIC()
Use apic_icr_read at print_local_APIC() in io_apic_32.c
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Diffstat (limited to 'arch/x86/kernel/io_apic_32.c')
-rw-r--r-- | arch/x86/kernel/io_apic_32.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/io_apic_32.c b/arch/x86/kernel/io_apic_32.c index 98e4db5373f3..39e063a9a28a 100644 --- a/arch/x86/kernel/io_apic_32.c +++ b/arch/x86/kernel/io_apic_32.c | |||
@@ -1486,6 +1486,7 @@ static void print_APIC_bitfield(int base) | |||
1486 | void /*__init*/ print_local_APIC(void *dummy) | 1486 | void /*__init*/ print_local_APIC(void *dummy) |
1487 | { | 1487 | { |
1488 | unsigned int v, ver, maxlvt; | 1488 | unsigned int v, ver, maxlvt; |
1489 | u64 icr; | ||
1489 | 1490 | ||
1490 | if (apic_verbosity == APIC_QUIET) | 1491 | if (apic_verbosity == APIC_QUIET) |
1491 | return; | 1492 | return; |
@@ -1536,10 +1537,9 @@ void /*__init*/ print_local_APIC(void *dummy) | |||
1536 | printk(KERN_DEBUG "... APIC ESR: %08x\n", v); | 1537 | printk(KERN_DEBUG "... APIC ESR: %08x\n", v); |
1537 | } | 1538 | } |
1538 | 1539 | ||
1539 | v = apic_read(APIC_ICR); | 1540 | icr = apic_icr_read(); |
1540 | printk(KERN_DEBUG "... APIC ICR: %08x\n", v); | 1541 | printk(KERN_DEBUG "... APIC ICR: %08x\n", icr); |
1541 | v = apic_read(APIC_ICR2); | 1542 | printk(KERN_DEBUG "... APIC ICR2: %08x\n", icr >> 32); |
1542 | printk(KERN_DEBUG "... APIC ICR2: %08x\n", v); | ||
1543 | 1543 | ||
1544 | v = apic_read(APIC_LVTT); | 1544 | v = apic_read(APIC_LVTT); |
1545 | printk(KERN_DEBUG "... APIC LVTT: %08x\n", v); | 1545 | printk(KERN_DEBUG "... APIC LVTT: %08x\n", v); |