diff options
author | kris <kris@FreeBSD.org> | 2008-04-16 16:47:14 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2008-04-16 16:47:14 +0000 |
commit | 267b42a43bcc8d85b017b2fb402c25af07ba0212 (patch) | |
tree | 5f5ef92b09a59ec14c419cb6b94d58b42865c243 /sys/dev/sound/midi/mpu401.c | |
parent | 994093cd2594f14da8414bae9b734c6fee4d14d7 (diff) | |
download | FreeBSD-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.c | 2 |
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; |