Adapt two more uses to the new signature of callout_init().
This commit is contained in:
parent
f39d28c4bf
commit
c9f40c630a
|
@ -670,7 +670,7 @@ cxgb_controller_attach(device_t dev, device_t self, void *context)
|
|||
callout_init_mtx(&sc->cxgb_tick_ch, &sc->lock, CALLOUT_RETURNUNLOCKED);
|
||||
#endif
|
||||
#ifdef __NetBSD__
|
||||
callout_init(&sc->cxgb_tick_ch);
|
||||
callout_init(&sc->cxgb_tick_ch, 0);
|
||||
#endif
|
||||
|
||||
MARK;
|
||||
|
|
|
@ -753,7 +753,7 @@ t3_sge_init_sw(adapter_t *sc)
|
|||
callout_init(&sc->sge_timer_ch, CALLOUT_MPSAFE);
|
||||
#endif
|
||||
#ifdef __NetBSD__
|
||||
callout_init(&sc->sge_timer_ch);
|
||||
callout_init(&sc->sge_timer_ch, 0);
|
||||
#endif
|
||||
callout_reset(&sc->sge_timer_ch, TX_RECLAIM_PERIOD, sge_timer_cb, sc);
|
||||
#ifdef __FreeBSD__
|
||||
|
|
Loading…
Reference in New Issue