This is MPSAFE on this platform, so don't take Giant out while running
the callback.
This commit is contained in:
parent
9b4bb7d500
commit
b799e21b28
@ -124,7 +124,7 @@ at91_rst_attach(device_t dev)
|
|||||||
at91_rst_sc = sc = device_get_softc(dev);
|
at91_rst_sc = sc = device_get_softc(dev);
|
||||||
sc->sc_dev = dev;
|
sc->sc_dev = dev;
|
||||||
|
|
||||||
callout_init(&sc->tick_ch, 0);
|
callout_init(&sc->tick_ch, 1);
|
||||||
|
|
||||||
rid = 0;
|
rid = 0;
|
||||||
sc->mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
|
sc->mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user