diff options
author | 2006-06-13 20:47:42 +0000 | |
---|---|---|
committer | 2006-06-13 20:47:42 +0000 | |
commit | 97a198818b59f32ecd7a50c1ff6044842b332fae (patch) | |
tree | 78fa714186db6c474770b9bf312e3d0349aef9bc | |
parent | sync (diff) | |
download | wireguard-openbsd-97a198818b59f32ecd7a50c1ff6044842b332fae.tar.xz wireguard-openbsd-97a198818b59f32ecd7a50c1ff6044842b332fae.zip |
Do not compare apple with oranges when checking if the thermal control
register write was successful.
-rw-r--r-- | sys/arch/i386/i386/p4tcc.c | 3 |
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"); |