From 12b6a0f87c9ecd220539adcea171625958c2a5eb Mon Sep 17 00:00:00 2001 From: Coleman Kane Date: Thu, 17 Apr 2008 22:57:33 +0000 Subject: [PATCH] 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 --- sys/dev/if_ndis/if_ndis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/if_ndis/if_ndis.c b/sys/dev/if_ndis/if_ndis.c index 9658ee723901..c44ed53b6169 100644 --- a/sys/dev/if_ndis/if_ndis.c +++ b/sys/dev/if_ndis/if_ndis.c @@ -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);