summaryrefslogtreecommitdiffstats
path: root/sys/dev/ieee488/ibfoo.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ieee488/ibfoo.c')
-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