diff options
author | 2017-08-11 21:18:11 +0000 | |
---|---|---|
committer | 2017-08-11 21:18:11 +0000 | |
commit | c8972b28e5d33e1da89b9a990a3b4b496fd70997 (patch) | |
tree | a93222b0a966009a3a766d00c28db7007e11da05 | |
parent | doug@ added code in here as well. (diff) | |
download | wireguard-openbsd-c8972b28e5d33e1da89b9a990a3b4b496fd70997.tar.xz wireguard-openbsd-c8972b28e5d33e1da89b9a990a3b4b496fd70997.zip |
don't bother checking diagnostic status (which patrick reports
actually hangs a particular machine) to avoid reporting an error
which is common on modern machines
ok deraadt, patrick
-rw-r--r-- | sys/arch/amd64/isa/clock.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/amd64/isa/clock.c b/sys/arch/amd64/isa/clock.c index 749d0bcb443..5c22ebeb6fa 100644 --- a/sys/arch/amd64/isa/clock.c +++ b/sys/arch/amd64/isa/clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.c,v 1.24 2017/01/25 08:23:50 tom Exp $ */ +/* $OpenBSD: clock.c,v 1.25 2017/08/11 21:18:11 jcs Exp $ */ /* $NetBSD: clock.c,v 1.1 2003/04/26 18:39:50 fvdl Exp $ */ /*- @@ -157,16 +157,10 @@ u_long rtclock_tval; void startclocks(void) { - int s; - mtx_enter(&timer_mutex); rtclock_tval = TIMER_DIV(hz); i8254_startclock(); mtx_leave(&timer_mutex); - - /* Check diagnostic status */ - if ((s = mc146818_read(NULL, NVRAM_DIAG)) != 0) /* XXX softc */ - printf("RTC BIOS diagnostic error %b\n", s, NVRAM_DIAG_BITS); } int |