summaryrefslogtreecommitdiffstats
path: root/sys/dev/ieee488
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2008-04-16 16:47:14 +0000
committerkris <kris@FreeBSD.org>2008-04-16 16:47:14 +0000
commit267b42a43bcc8d85b017b2fb402c25af07ba0212 (patch)
tree5f5ef92b09a59ec14c419cb6b94d58b42865c243 /sys/dev/ieee488
parent994093cd2594f14da8414bae9b734c6fee4d14d7 (diff)
downloadFreeBSD-src-267b42a43bcc8d85b017b2fb402c25af07ba0212.zip
FreeBSD-src-267b42a43bcc8d85b017b2fb402c25af07ba0212.tar.gz
Replace callout_init(..., 1) with callout_init(..., CALLOUT_MPSAFE) for
better grep-compliance and to standardize with the rest of the kernel. Reviewed by: jhb MFC after: 1 week
Diffstat (limited to 'sys/dev/ieee488')
-rw-r--r--sys/dev/ieee488/ibfoo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ieee488/ibfoo.c b/sys/dev/ieee488/ibfoo.c
index 537443d..f199920 100644
--- a/sys/dev/ieee488/ibfoo.c
+++ b/sys/dev/ieee488/ibfoo.c
@@ -809,7 +809,7 @@ gpib_ib_open(struct cdev *dev, int oflags, int devtype, struct thread *td)
ib = malloc(sizeof *ib, M_IBFOO, M_WAITOK | M_ZERO);
LIST_INIT(&ib->handles);
- callout_init(&ib->callout, 1);
+ callout_init(&ib->callout, CALLOUT_MPSAFE);
ib->unrhdr = new_unrhdr(0, INT_MAX, NULL);
dev->si_drv2 = ib;
ib->u = u;
OpenPOWER on IntegriCloud