emx: Use MPSAFE callout
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 15 Nov 2011 01:25:10 +0000 (09:25 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 15 Nov 2011 01:25:40 +0000 (09:25 +0800)
sys/dev/netif/emx/if_emx.c

index a72745c..fe8e03c 100644 (file)
@@ -413,7 +413,7 @@ emx_attach(device_t dev)
        sc->serializes[i++] = &sc->rx_data[1].rx_serialize;
        KKASSERT(i == EMX_NSERIALIZE);
 
-       callout_init(&sc->timer);
+       callout_init_mp(&sc->timer);
 
        sc->dev = sc->osdep.dev = dev;