Skip to content

Commit

Permalink
x86: support for new UV apic, fix
Browse files Browse the repository at this point in the history
Yinghai Lu pointed out a bug in the previous patches,
fix double-shift of apicid.

Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Jack Steiner authored and Ingo Molnar committed Apr 17, 2008
1 parent 1725037 commit f5149a4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/kernel/genapic_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ unsigned int read_apic_id(void)
id = apic_read(APIC_ID);
if (uv_system_type >= UV_X2APIC)
id |= __get_cpu_var(x2apic_extra_bits);
else
id = (id >> 24) & 0xFFu;;
return id;
}

Expand Down

0 comments on commit f5149a4

Please sign in to comment.