This is MPSAFE on this platform, so don't take Giant out while running

the callback.
This commit is contained in:
Warner Losh 2018-03-21 14:47:08 +00:00
parent 9b4bb7d500
commit b799e21b28

View File

@ -124,7 +124,7 @@ at91_rst_attach(device_t dev)
at91_rst_sc = sc = device_get_softc(dev);
sc->sc_dev = dev;
callout_init(&sc->tick_ch, 0);
callout_init(&sc->tick_ch, 1);
rid = 0;
sc->mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,