aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ubsec
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2003-08-19 17:51:11 +0000
committerSam Leffler <sam@FreeBSD.org>2003-08-19 17:51:11 +0000
commitc06eb4e29362135629bd45fbcb1c00dea6a78797 (patch)
treeab83000d32d028d24443ab237035b625ff7b65dd /sys/dev/ubsec
parent9d6f37e49026d742ddb7e6f01303e38924e14bc9 (diff)
Notes
Diffstat (limited to 'sys/dev/ubsec')
-rw-r--r--sys/dev/ubsec/ubsec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ubsec/ubsec.c b/sys/dev/ubsec/ubsec.c
index c9382ba22eb3..eb594c90d997 100644
--- a/sys/dev/ubsec/ubsec.c
+++ b/sys/dev/ubsec/ubsec.c
@@ -462,8 +462,7 @@ ubsec_attach(device_t dev)
sc->sc_rnghz = hz / 100;
else
sc->sc_rnghz = 1;
- /* NB: 1 means the callout runs w/o Giant locked */
- callout_init(&sc->sc_rngto, 1);
+ callout_init(&sc->sc_rngto, CALLOUT_MPSAFE);
callout_reset(&sc->sc_rngto, sc->sc_rnghz, ubsec_rng, sc);
skip_rng:
;