x86: apic - unify xapic_icr_read
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
9c803869f5
commit
cf9768d751
@ -174,7 +174,7 @@ u64 xapic_icr_read(void)
|
|||||||
icr2 = apic_read(APIC_ICR2);
|
icr2 = apic_read(APIC_ICR2);
|
||||||
icr1 = apic_read(APIC_ICR);
|
icr1 = apic_read(APIC_ICR);
|
||||||
|
|
||||||
return (icr1 | ((u64)icr2 << 32));
|
return icr1 | ((u64)icr2 << 32);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct apic_ops xapic_ops = {
|
static struct apic_ops xapic_ops = {
|
||||||
|
Loading…
Reference in New Issue
Block a user