summaryrefslogtreecommitdiff
path: root/sys/dev/dec
diff options
context:
space:
mode:
authorad <ad@NetBSD.org>2007-07-09 20:51:58 +0000
committerad <ad@NetBSD.org>2007-07-09 20:51:58 +0000
commit88ab7da936c561aba9ff7492617ffb08f8d08ece (patch)
treed9d78b17ff651178241606f2e7766abdd0f15137 /sys/dev/dec
parent317bac119f13240650ea6882854b381cf1024fa1 (diff)
Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
Diffstat (limited to 'sys/dev/dec')
-rw-r--r--sys/dev/dec/dz.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/dec/dz.c b/sys/dev/dec/dz.c
index 2f687e9e5fb..32f32cb0135 100644
--- a/sys/dev/dec/dz.c
+++ b/sys/dev/dec/dz.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dz.c,v 1.25 2007/03/04 06:01:45 christos Exp $ */
+/* $NetBSD: dz.c,v 1.26 2007/07/09 21:00:31 ad Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dz.c,v 1.25 2007/03/04 06:01:45 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dz.c,v 1.26 2007/07/09 21:00:31 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -198,7 +198,7 @@ dzattach(struct dz_softc *sc, struct evcnt *parent_evcnt, int consline)
if (dz_timer == 0) {
dz_timer = 1;
- callout_init(&dzscan_ch);
+ callout_init(&dzscan_ch, 0);
callout_reset(&dzscan_ch, hz, dzscan, NULL);
}
printf("\n");