patch-2.0.36 linux/arch/i386/kernel/smp.c

Next file: linux/arch/i386/kernel/traps.c
Previous file: linux/arch/i386/kernel/setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.35/linux/arch/i386/kernel/smp.c linux/arch/i386/kernel/smp.c
@@ -35,6 +35,9 @@
 #include <asm/bitops.h>
 #include <asm/pgtable.h>
 #include <asm/smp.h>
+#ifdef CONFIG_MTRR
+#include <asm/mtrr.h>
+#endif
 
 /*
  *	Why isn't this somewhere standard ??
@@ -552,6 +555,14 @@
  	l=apic_read(APIC_SPIV);
  	l|=(1<<8);		/* Enable */
  	apic_write(APIC_SPIV,l);
+
+#ifdef CONFIG_MTRR
+	/*
+	 * checks the MTRR configuration of this application processor
+	 */
+	check_mtrr_config();
+#endif
+
  	sti();
 	/*
 	 *	Get our bogomips.

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov