]> git.hungrycats.org Git - linux/commitdiff
[PATCH] APIC physical broadcast for i82489DX
authorMaciej W. Rozycki <macro@linux-mips.org>
Thu, 7 Oct 2004 01:24:23 +0000 (18:24 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 7 Oct 2004 01:24:23 +0000 (18:24 -0700)
The physical broadcast ID is determined incorrectly for the i82489DX,
which uses 8-bit physical addressing (32-bit logical).

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/apic.c

index bfa2307c0bb765c1da17569019a315b342021efa..8042a1472501e4a79c77c6b2a3b2c42917cef6de 100644 (file)
@@ -91,7 +91,7 @@ int get_physical_broadcast(void)
        unsigned int lvr, version;
        lvr = apic_read(APIC_LVR);
        version = GET_APIC_VERSION(lvr);
-       if (version >= 0x14)
+       if (!APIC_INTEGRATED(version) || version >= 0x14)
                return 0xff;
        else
                return 0xf;