1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00

Change the 1 in callout_init to CALLOUT_MPSAFE. I made the change in my

tree, but never committed it into git before making my patch!

Submitted by:	thompsa
MFC after:	1 month
This commit is contained in:
Coleman Kane 2008-04-17 22:57:33 +00:00
parent 1e98f88776
commit 12b6a0f87c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178288

View File

@ -1935,7 +1935,7 @@ ndis_init(xsc)
if (sc->ndis_block->nmb_checkforhangsecs == 0)
sc->ndis_block->nmb_checkforhangsecs = 3;
callout_init(&sc->ndis_stat_callout, 1);
callout_init(&sc->ndis_stat_callout, CALLOUT_MPSAFE);
callout_reset(&sc->ndis_stat_callout,
hz * sc->ndis_block->nmb_checkforhangsecs, ndis_tick, sc);