summaryrefslogtreecommitdiffstats
path: root/sys/dev/oce
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/oce
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/oce')
-rw-r--r--sys/dev/oce/oce_if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/oce/oce_if.c b/sys/dev/oce/oce_if.c
index f37ef3a..779dd72 100644
--- a/sys/dev/oce/oce_if.c
+++ b/sys/dev/oce/oce_if.c
@@ -341,7 +341,7 @@ oce_attach(device_t dev)
oce_add_sysctls(sc);
- callout_init(&sc->timer, CALLOUT_MPSAFE);
+ callout_init(&sc->timer, 1);
rc = callout_reset(&sc->timer, 2 * hz, oce_local_timer, sc);
if (rc)
goto stats_free;
OpenPOWER on IntegriCloud