summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/midi/mpu401.c
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/sound/midi/mpu401.c
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/sound/midi/mpu401.c')
-rw-r--r--sys/dev/sound/midi/mpu401.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/midi/mpu401.c b/sys/dev/sound/midi/mpu401.c
index 14f2212..dfdf969 100644
--- a/sys/dev/sound/midi/mpu401.c
+++ b/sys/dev/sound/midi/mpu401.c
@@ -177,7 +177,7 @@ mpu401_init(kobj_class_t cls, void *cookie, driver_intr_t softintr,
kobj_init((kobj_t)m, cls);
- callout_init(&m->timer, 1);
+ callout_init(&m->timer, CALLOUT_MPSAFE);
m->si = softintr;
m->cookie = cookie;
OpenPOWER on IntegriCloud