diff options
| author | joerg <joerg@NetBSD.org> | 2007-10-18 18:54:56 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2007-10-18 18:54:56 +0000 |
| commit | d238692c3ed2a0b261d3f0ebcd262d0d545404c8 (patch) | |
| tree | eb3e0e92276c8ce9c225ba7f11d227255350ae63 /sys/dev/hpc | |
| parent | bc89ba23ac92689206b04b822077f3920d360cb5 (diff) | |
Initialise the callbacks for tty.t_rstrt_ch in ttymalloc
as all drivers but Sun/SPARC's kd.c use the same arguments.
Separate callout_reset into callout_schedule and the initial
callout_setfunc using that.
Diffstat (limited to 'sys/dev/hpc')
| -rw-r--r-- | sys/dev/hpc/biconsdev.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/hpc/biconsdev.c b/sys/dev/hpc/biconsdev.c index abec866f64b..9810f113a7e 100644 --- a/sys/dev/hpc/biconsdev.c +++ b/sys/dev/hpc/biconsdev.c @@ -1,4 +1,4 @@ -/* $NetBSD: biconsdev.c,v 1.18 2007/03/04 06:01:46 christos Exp $ */ +/* $NetBSD: biconsdev.c,v 1.19 2007/10/18 18:55:00 joerg Exp $ */ /*- * Copyright (c) 1999-2001 @@ -67,7 +67,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: biconsdev.c,v 1.18 2007/03/04 06:01:46 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: biconsdev.c,v 1.19 2007/10/18 18:55:00 joerg Exp $"); #include "biconsdev.h" #include <sys/param.h> @@ -151,7 +151,7 @@ biconsdev_output(struct tty *tp) /* Come back if there's more to do */ if (tp->t_outq.c_cc) { tp->t_state |= TS_TIMEOUT; - callout_reset(&tp->t_rstrt_ch, 1, ttrstrt, tp); + callout_schedule(&tp->t_rstrt_ch, 1); } if (tp->t_outq.c_cc <= tp->t_lowat) { if (tp->t_state&TS_ASLEEP) { |
