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,
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to