summaryrefslogtreecommitdiffstats
path: root/sys/dev/if_ndis
diff options
context:
space:
mode:
authorcokane <cokane@FreeBSD.org>2008-04-17 22:57:33 +0000
committercokane <cokane@FreeBSD.org>2008-04-17 22:57:33 +0000
commit986a88fe51bb6dfbe2bae613c22011289632b774 (patch)
treee1f36c4ee723644074d8cd1a9555dbaa09fb5008 /sys/dev/if_ndis
parentab875ea72654fac71cb13470c85b43412c2e2391 (diff)
downloadFreeBSD-src-986a88fe51bb6dfbe2bae613c22011289632b774.zip
FreeBSD-src-986a88fe51bb6dfbe2bae613c22011289632b774.tar.gz
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
Diffstat (limited to 'sys/dev/if_ndis')
-rw-r--r--sys/dev/if_ndis/if_ndis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/if_ndis/if_ndis.c b/sys/dev/if_ndis/if_ndis.c
index 9658ee7..c44ed53 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);
OpenPOWER on IntegriCloud