Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5149a49 authored by Jack Steiner's avatar Jack Steiner Committed by Ingo Molnar
Browse files

x86: support for new UV apic, fix



Yinghai Lu pointed out a bug in the previous patches,
fix double-shift of apicid.

Signed-off-by: default avatarJack Steiner <steiner@sgi.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 1725037f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
}