diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2015-05-22 17:05:21 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2015-05-22 17:05:21 +0000 |
commit | fd90e2ed54a69bb07d14dcd4e805431ccb7d6cb6 (patch) | |
tree | 9c598a67317c5e22e5e44d49e8bb797cb28e79b9 /sys/dev/patm/if_patm_attach.c | |
parent | 316f4c880a15660086e5c9e7ee31f8b717e855f1 (diff) |
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/patm/if_patm_attach.c')
-rw-r--r-- | sys/dev/patm/if_patm_attach.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/patm/if_patm_attach.c b/sys/dev/patm/if_patm_attach.c index f4b8c4e9f51d..ed48bda269cd 100644 --- a/sys/dev/patm/if_patm_attach.c +++ b/sys/dev/patm/if_patm_attach.c @@ -208,7 +208,7 @@ patm_attach(device_t dev) mtx_init(&sc->tst_lock, "tst lock", NULL, MTX_DEF); cv_init(&sc->vcc_cv, "vcc_close"); - callout_init(&sc->tst_callout, CALLOUT_MPSAFE); + callout_init(&sc->tst_callout, 1); sysctl_ctx_init(&sc->sysctl_ctx); |