summaryrefslogtreecommitdiffstats
path: root/sys/dev/ubsec/ubsec.c
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2017-03-04 13:03:31 +0000
committeravg <avg@FreeBSD.org>2017-03-04 13:03:31 +0000
commitee895f7b426627aad1638091f62f0eb122a17460 (patch)
tree822fb78084d564fa54c140dfab630370fb3397e6 /sys/dev/ubsec/ubsec.c
parenta3480d5c9e3eb277d85d4bef6f03fd62eb864799 (diff)
downloadFreeBSD-src-ee895f7b426627aad1638091f62f0eb122a17460.zip
FreeBSD-src-ee895f7b426627aad1638091f62f0eb122a17460.tar.gz
MFC r283291: don't use CALLOUT_MPSAFE with callout_init()
The main purpose of this MFC is to reduce conflicts for other merges. Parts of the original change have already "trickled down" via individual MFCs.
Diffstat (limited to 'sys/dev/ubsec/ubsec.c')
-rw-r--r--sys/dev/ubsec/ubsec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ubsec/ubsec.c b/sys/dev/ubsec/ubsec.c
index 6c06b71..09d2646 100644
--- a/sys/dev/ubsec/ubsec.c
+++ b/sys/dev/ubsec/ubsec.c
@@ -456,7 +456,7 @@ ubsec_attach(device_t dev)
sc->sc_rnghz = hz / 100;
else
sc->sc_rnghz = 1;
- callout_init(&sc->sc_rngto, CALLOUT_MPSAFE);
+ callout_init(&sc->sc_rngto, 1);
callout_reset(&sc->sc_rngto, sc->sc_rnghz, ubsec_rng, sc);
skip_rng:
;
OpenPOWER on IntegriCloud