summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
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/usb
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/usb')
-rw-r--r--sys/dev/usb/if_aue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/if_aue.c b/sys/dev/usb/if_aue.c
index 884333f..463129b 100644
--- a/sys/dev/usb/if_aue.c
+++ b/sys/dev/usb/if_aue.c
@@ -1204,7 +1204,7 @@ aue_init_body(struct aue_softc *sc)
ifp->if_drv_flags |= IFF_DRV_RUNNING;
ifp->if_drv_flags &= ~IFF_DRV_OACTIVE;
- callout_init(&sc->aue_tick_callout, 1);
+ callout_init(&sc->aue_tick_callout, CALLOUT_MPSAFE);
(void) callout_reset(&sc->aue_tick_callout, hz, aue_tick, sc);
return;
}
OpenPOWER on IntegriCloud