Skip to content

Commit

Permalink
x86: apic - unify xapic_icr_read
Browse files Browse the repository at this point in the history
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Cyrill Gorcunov authored and Ingo Molnar committed Aug 17, 2008
1 parent 9c80386 commit cf9768d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/apic_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ u64 xapic_icr_read(void)
icr2 = apic_read(APIC_ICR2);
icr1 = apic_read(APIC_ICR);

return (icr1 | ((u64)icr2 << 32));
return icr1 | ((u64)icr2 << 32);
}

static struct apic_ops xapic_ops = {
Expand Down

0 comments on commit cf9768d

Please sign in to comment.