Commit cf9768d7 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Ingo Molnar

x86: apic - unify xapic_icr_read

Signed-off-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 9c803869
...@@ -174,7 +174,7 @@ u64 xapic_icr_read(void) ...@@ -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 = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment