diff options
author | avg <avg@FreeBSD.org> | 2017-03-04 13:03:31 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2017-03-04 13:03:31 +0000 |
commit | ee895f7b426627aad1638091f62f0eb122a17460 (patch) | |
tree | 822fb78084d564fa54c140dfab630370fb3397e6 /sys/dev/oce | |
parent | a3480d5c9e3eb277d85d4bef6f03fd62eb864799 (diff) | |
download | FreeBSD-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.c | 2 |
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; |