bnx: Use MPSAFE callout
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 24 Jul 2012 09:21:26 +0000 (17:21 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 26 Jul 2012 09:21:20 +0000 (17:21 +0800)
sys/dev/netif/bnx/if_bnx.c

index 3a2221b..6d7048c 100644 (file)
@@ -1750,7 +1750,7 @@ bnx_attach(device_t dev)
 
        sc = device_get_softc(dev);
        sc->bnx_dev = dev;
-       callout_init(&sc->bnx_stat_timer);
+       callout_init_mp(&sc->bnx_stat_timer);
        lwkt_serialize_init(&sc->bnx_jslot_serializer);
 
        product = pci_get_device(dev);