aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mfi
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-05-22 17:05:21 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-05-22 17:05:21 +0000
commitfd90e2ed54a69bb07d14dcd4e805431ccb7d6cb6 (patch)
tree9c598a67317c5e22e5e44d49e8bb797cb28e79b9 /sys/dev/mfi
parent316f4c880a15660086e5c9e7ee31f8b717e855f1 (diff)
downloadsrc-fd90e2ed54a69bb07d14dcd4e805431ccb7d6cb6.tar.gz
src-fd90e2ed54a69bb07d14dcd4e805431ccb7d6cb6.zip
CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten
years for head. However, it is continuously misused as the mpsafe argument for callout_init(9). Deprecate the flag and clean up callout_init() calls to make them more consistent. Differential Revision: https://reviews.freebsd.org/D2613 Reviewed by: jhb MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=283291
Diffstat (limited to 'sys/dev/mfi')
-rw-r--r--sys/dev/mfi/mfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mfi/mfi.c b/sys/dev/mfi/mfi.c
index 5ec813eafaee..a2d604cf3f5d 100644
--- a/sys/dev/mfi/mfi.c
+++ b/sys/dev/mfi/mfi.c
@@ -780,7 +780,7 @@ mfi_attach(struct mfi_softc *sc)
bus_generic_attach(sc->mfi_dev);
/* Start the timeout watchdog */
- callout_init(&sc->mfi_watchdog_callout, CALLOUT_MPSAFE);
+ callout_init(&sc->mfi_watchdog_callout, 1);
callout_reset(&sc->mfi_watchdog_callout, mfi_cmd_timeout * hz,
mfi_timeout, sc);