summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-08-08 03:31:22 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-08-08 03:31:22 +0000
commit337f174b325207a2ba116c376be100047898c074 (patch)
tree94851e99ec9884a548f5572f36f1a47bcfdbe059 /sys
parent9782669df44b80b6db039e25a229611813ad1505 (diff)
Reset the cycle counter at boot on P5 or better wether or not we have been
configured for NTP
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/i386/locore.s2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/locore.s b/sys/arch/i386/i386/locore.s
index bc0a63fa4ea..756110246d9 100644
--- a/sys/arch/i386/i386/locore.s
+++ b/sys/arch/i386/i386/locore.s
@@ -437,12 +437,10 @@ try586: /* Use the `cpuid' instruction. */
jb is486 # less than a Pentium
movl $CPU_586,RELOC(_cpu)
-#ifdef NTP
xorl %eax,%eax
xorl %edx,%edx
movl $0x10,%ecx
.byte 0xf, 0x30 # wrmsr (or trap on non-pentium :-)
-#endif
2:
/*