[PATCH][2.5] Add Focus processor bit comment

Zwane Mwaikambo (zwane@linuxpower.ca)
Mon, 19 May 2003 04:03:26 -0400 (EDT)


Add an explanation for clearing the focus bit on P4

Index: linux-2.5-devel/arch/i386/kernel/apic.c
===================================================================
RCS file: /home/cvs/linux-2.5/arch/i386/kernel/apic.c,v
retrieving revision 1.40
diff -u -p -B -r1.40 apic.c
--- linux-2.5-devel/arch/i386/kernel/apic.c 17 Apr 2003 23:28:48 -0000 1.40
+++ linux-2.5-devel/arch/i386/kernel/apic.c 19 May 2003 07:07:52 -0000
@@ -291,6 +291,8 @@ void __init init_bsp_APIC(void)
value = apic_read(APIC_SPIV);
value &= ~APIC_VECTOR_MASK;
value |= APIC_SPIV_APIC_ENABLED;
+
+ /* This bit is reserved on P4/Xeon and should be cleared */
if ((boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) && (boot_cpu_data.x86 == 15))
value &= ~APIC_SPIV_FOCUS_DISABLED;
else

-- 
function.linuxpower.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/