summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-06-13 20:47:43 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-06-13 20:47:43 +0000
commit07c97a9bf6dba730e3e49cce8f6ec4199e13a078 (patch)
treeb34f54e141d3ebad684a23bafe536ba74e59fc23 /sys/arch/i386
parenta71bba2cef3152d28b70596404335b9e32abeba9 (diff)
Do not compare apple with oranges when checking if the thermal control
register write was successful.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/p4tcc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/p4tcc.c b/sys/arch/i386/i386/p4tcc.c
index bb97531642f..b718e48a3e0 100644
--- a/sys/arch/i386/i386/p4tcc.c
+++ b/sys/arch/i386/i386/p4tcc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: p4tcc.c,v 1.6 2006/06/13 00:36:39 gwk Exp $ */
+/* $OpenBSD: p4tcc.c,v 1.7 2006/06/13 20:47:42 miod Exp $ */
/*
* Copyright (c) 2003 Ted Unangst
* All rights reserved.
@@ -109,7 +109,6 @@ p4tcc_setperf(int level)
msreg |= tcc[i].reg << 1 | 1 << 4;
wrmsr(MSR_THERM_CONTROL, msreg);
vet = rdmsr(MSR_THERM_CONTROL);
- vet &= ~0x1e;
if (vet != msreg) {
printf("p4_tcc: cpu did not honor request\n");