svn commit: r331297 - head/sys/arm/at91
Warner Losh
imp at FreeBSD.org
Wed Mar 21 14:47:10 UTC 2018
Author: imp
Date: Wed Mar 21 14:47:08 2018
New Revision: 331297
URL: https://svnweb.freebsd.org/changeset/base/331297
Log:
This is MPSAFE on this platform, so don't take Giant out while running
the callback.
Modified:
head/sys/arm/at91/at91_rst.c
Modified: head/sys/arm/at91/at91_rst.c
==============================================================================
--- head/sys/arm/at91/at91_rst.c Wed Mar 21 14:47:03 2018 (r331296)
+++ head/sys/arm/at91/at91_rst.c Wed Mar 21 14:47:08 2018 (r331297)
@@ -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,
More information about the svn-src-all
mailing list