Commit 9cd64149 authored by Maciej W. Rozycki's avatar Maciej W. Rozycki Committed by Linus Torvalds

[PATCH] APIC physical broadcast for i82489DX

The physical broadcast ID is determined incorrectly for the i82489DX,
which uses 8-bit physical addressing (32-bit logical).
Signed-off-by: default avatarMaciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 57e762e0
...@@ -91,7 +91,7 @@ int get_physical_broadcast(void) ...@@ -91,7 +91,7 @@ int get_physical_broadcast(void)
unsigned int lvr, version; unsigned int lvr, version;
lvr = apic_read(APIC_LVR); lvr = apic_read(APIC_LVR);
version = GET_APIC_VERSION(lvr); version = GET_APIC_VERSION(lvr);
if (version >= 0x14) if (!APIC_INTEGRATED(version) || version >= 0x14)
return 0xff; return 0xff;
else else
return 0xf; return 0xf;
......
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