94d985722a
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9) expect to be called with interrupts disabled, but shutdown hooks registered with pmf_device_register1(9) expect to be called with interrupts enabled. So I have made two changes: 1 Do not call pmf_system_shutdown() from doshutdownhooks(). Instead, change every call to doshutdownhooks() to a call to doshutdownhooks() followed by a call to pmf_system_shutdown(). No functional change is intended by this change. 2 Make i386 re-enable interrupts briefly while it calls pmf_system_shutdown(). I leave it to others either to fix the other ports, or to factor out some MI shutdown code, as joerg@ suggests, and fix that. Note that a functional change *is* intended by this change. I hope that this patch will stop us from flip-flopping between calling doshutdownhooks() and pmf_system_shutdown() sometimes with and sometimes without interrupts enabled. |
||
---|---|---|
.. | ||
g42xxeb_kmkbd.c | ||
g42xxeb_lcd.c | ||
g42xxeb_machdep.c | ||
g42xxeb_reg.h | ||
g42xxeb_start.S | ||
g42xxeb_var.h | ||
gb225.c | ||
gb225_pcic.c | ||
gb225_slhci.c | ||
gb225reg.h | ||
gb225var.h | ||
if_ne_obio.c | ||
obio.c |