diff options
Diffstat (limited to 'sys/arch/sun3/dev/kd.c')
-rw-r--r-- | sys/arch/sun3/dev/kd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sun3/dev/kd.c b/sys/arch/sun3/dev/kd.c index a5f1aee358c..d7c19c50d14 100644 --- a/sys/arch/sun3/dev/kd.c +++ b/sys/arch/sun3/dev/kd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kd.c,v 1.9 2001/04/17 04:30:49 aaron Exp $ */ +/* $OpenBSD: kd.c,v 1.10 2001/08/20 19:34:40 miod Exp $ */ /* $NetBSD: kd.c,v 1.21 1996/11/20 18:56:55 gwr Exp $ */ /*- @@ -278,6 +278,7 @@ kdstop(tp, flag) static void kd_later(void*); static void kd_putfb(struct tty *); +static struct timeout kd_timeout; void kdstart(tp) @@ -302,7 +303,8 @@ kdstart(tp) tp->t_state &= ~TS_BUSY; } else { /* called at interrupt level - do it later */ - timeout(kd_later, (void*)tp, 0); + timeout_set(&kd_timeout, kd_later, tp); + timeout_add(&kd_timeout, 0); } } else { /* |