mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-10 04:42:22 -05:00
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 <[email protected]> Cc: Suresh Siddha <[email protected]> Cc: Yinghai Lu <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Cc: Suresh Siddha <[email protected]> Cc: Yinghai Lu <[email protected]>
This commit is contained in:
parent
10a010f695
commit
7ab6af7ab6
1 changed files with 4 additions and 4 deletions
|
|
@ -1486,6 +1486,7 @@ static void print_APIC_bitfield(int base)
|
|||
void /*__init*/ print_local_APIC(void *dummy)
|
||||
{
|
||||
unsigned int v, ver, maxlvt;
|
||||
u64 icr;
|
||||
|
||||
if (apic_verbosity == APIC_QUIET)
|
||||
return;
|
||||
|
|
@ -1536,10 +1537,9 @@ void /*__init*/ print_local_APIC(void *dummy)
|
|||
printk(KERN_DEBUG "... APIC ESR: %08x\n", v);
|
||||
}
|
||||
|
||||
v = apic_read(APIC_ICR);
|
||||
printk(KERN_DEBUG "... APIC ICR: %08x\n", v);
|
||||
v = apic_read(APIC_ICR2);
|
||||
printk(KERN_DEBUG "... APIC ICR2: %08x\n", v);
|
||||
icr = apic_icr_read();
|
||||
printk(KERN_DEBUG "... APIC ICR: %08x\n", icr);
|
||||
printk(KERN_DEBUG "... APIC ICR2: %08x\n", icr >> 32);
|
||||
|
||||
v = apic_read(APIC_LVTT);
|
||||
printk(KERN_DEBUG "... APIC LVTT: %08x\n", v);
|
||||
|
|
|
|||
Loading…
Reference in a new issue