PERFORCE change 36143 for review
Sam Leffler
sam at FreeBSD.org
Thu Aug 14 15:06:48 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=36143
Change 36143 by sam at sam_ebb on 2003/08/14 15:06:12
enable MPSAFE callouts
Affected files ...
.. //depot/projects/netperf/sys/dev/ath/if_ath.c#7 edit
Differences ...
==== //depot/projects/netperf/sys/dev/ath/if_ath.c#7 (text+ko) ====
@@ -226,8 +226,8 @@
if_printf(ifp, "failed to allocate descriptors: %d\n", error);
goto bad;
}
- callout_init(&sc->sc_scan_ch, 0);
- callout_init(&sc->sc_cal_ch, 0);
+ callout_init(&sc->sc_scan_ch, CALLOUT_MPSAFE);
+ callout_init(&sc->sc_cal_ch, CALLOUT_MPSAFE);
mtx_init(&sc->sc_txbuflock,
device_get_nameunit(sc->sc_dev), "xmit buf q", MTX_DEF);
More information about the p4-projects
mailing list