summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-05-20 16:11:22 +0000
committerjhb <jhb@FreeBSD.org>2009-05-20 16:11:22 +0000
commite7900df956f7e2bffe05dde2db6865cb9d5bbfcb (patch)
tree8bf82efbf8f78822d4f3793a8826857b7f781eb9 /sys/i386
parent02a6873f8d4b989c09f393e412aa24487ead7b6b (diff)
downloadFreeBSD-src-e7900df956f7e2bffe05dde2db6865cb9d5bbfcb.zip
FreeBSD-src-e7900df956f7e2bffe05dde2db6865cb9d5bbfcb.tar.gz
Don't bother reading the initial value of the machine check banks during
startup on Pentium 4 CPUs. This wasn't safe to do on APs during AP startup, was of limited value, and won't be used for future processors.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/mca.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/i386/i386/mca.c b/sys/i386/i386/mca.c
index 5ad8c52..5e7e4ff 100644
--- a/sys/i386/i386/mca.c
+++ b/sys/i386/i386/mca.c
@@ -491,10 +491,6 @@ mca_init(void)
if (!(i == 0 && (cpu_id & 0xf00) == 0x600))
wrmsr(MSR_MC_CTL(i), 0xffffffffffffffffUL);
- /* XXX: Better CPU test needed here. */
- if ((cpu_id & 0xf00) == 0xf00)
- mca_record_entry(i);
-
/* Clear all errors. */
wrmsr(MSR_MC_STATUS(i), 0);
}
OpenPOWER on IntegriCloud