diff options
author | Thomas Nordin <nordin@cvs.openbsd.org> | 2002-07-06 19:14:21 +0000 |
---|---|---|
committer | Thomas Nordin <nordin@cvs.openbsd.org> | 2002-07-06 19:14:21 +0000 |
commit | adb28585e4802d642142e770be7ef276683bb58f (patch) | |
tree | 6016909e7ec82b58a471cd40838fb68a0d275d3d /sys/arch/i386/isa/clock.c | |
parent | 4f23015d08ae2c991a6560c6d70151190bec00b8 (diff) |
Remove kernel support for NTP. ok deraadt@ and tholo@
Diffstat (limited to 'sys/arch/i386/isa/clock.c')
-rw-r--r-- | sys/arch/i386/isa/clock.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/i386/isa/clock.c b/sys/arch/i386/isa/clock.c index 13606cbb005..7fdb55e9435 100644 --- a/sys/arch/i386/isa/clock.c +++ b/sys/arch/i386/isa/clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.c,v 1.27 2002/05/17 18:55:41 mickey Exp $ */ +/* $OpenBSD: clock.c,v 1.28 2002/07/06 19:14:20 nordin Exp $ */ /* $NetBSD: clock.c,v 1.39 1996/05/12 23:11:54 mycroft Exp $ */ /*- @@ -450,17 +450,11 @@ void calibrate_cyclecounter() { unsigned long long count, last_count; -#ifdef NTP - extern long time_precision; -#endif __asm __volatile(".byte 0xf, 0x31" : "=A" (last_count)); delay(1000000); __asm __volatile(".byte 0xf, 0x31" : "=A" (count)); pentium_mhz = ((count - last_count) + 500000) / 1000000; -#ifdef NTP - time_precision = 1; /* XXX */ -#endif } #endif |