diff options
author | 2004-01-03 15:17:48 +0000 | |
---|---|---|
committer | 2004-01-03 15:17:48 +0000 | |
commit | d711dfe7dad8bc07a2c3e170096ea1059d3b3255 (patch) | |
tree | 18290162a3d4375440b1905e6b2e4fdbcb66378e | |
parent | switch to shorter licence at millert@ suggestion. (diff) | |
download | wireguard-openbsd-d711dfe7dad8bc07a2c3e170096ea1059d3b3255.tar.xz wireguard-openbsd-d711dfe7dad8bc07a2c3e170096ea1059d3b3255.zip |
disable TSC for Geode SC1100; Stuart Henderson, pr 3625; ok mickey, deraadt
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 76ace682b64..02658995db8 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.258 2003/12/29 08:14:18 grange Exp $ */ +/* $OpenBSD: machdep.c,v 1.259 2004/01/03 15:17:48 markus Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -1608,6 +1608,11 @@ natsem6x86_cpu_setup(cpu_device, model, step) extern int clock_broken_latch; clock_broken_latch = 1; + switch (model) { + case 4: + cpu_feature &= ~CPUID_TSC; + break; + } #endif } |