ok?
Index: i386/apm.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/i386/apm.c,v
retrieving revision 1.119
diff -u -p -r1.119 apm.c
--- i386/apm.c 22 May 2019 16:11:21 -0000 1.119
+++ i386/apm.c 8 Oct 2019 13:43:16 -0000
@@ -907,7 +907,7 @@ apm_thread(void *v)
rw_enter_write(&sc->sc_lock);
(void) apm_periodic_check(sc);
rw_exit_write(&sc->sc_lock);
- tsleep(&lbolt, PWAIT, "apmev", 0);
+ tsleep_nsec(&lbolt, PWAIT, "apmev", INFSLP);
}
}
Index: i386/esm.c
===================================================================
RCS file: /cvs/src/sys/arch/i386/i386/esm.c,v
retrieving revision 1.60
diff -u -p -r1.60 esm.c
--- i386/esm.c 10 Jun 2019 15:06:03 -0000 1.60
+++ i386/esm.c 8 Oct 2019 13:43:16 -0000
@@ -331,7 +331,7 @@ esm_watchdog(void *arg, int period)
* should have a process context we can sleep in.
*/
while (sc->sc_step != 0) {
- if (tsleep(sc, PWAIT | PCATCH, "esm", 0) == EINTR) {
+ if (tsleep_nsec(sc, PWAIT | PCATCH, "esm", INFSLP) == EINTR) {
splx(s);
return (sc->sc_wdog_period);
}