Revert previous diff setting cold to 1 on shutdown because it breaks machine
authormpi <mpi@openbsd.org>
Sat, 31 May 2014 15:49:28 +0000 (15:49 +0000)
committermpi <mpi@openbsd.org>
Sat, 31 May 2014 15:49:28 +0000 (15:49 +0000)
commit5a973a70a7b16941bb91da260c9969a96e142d65
treeffb1c6b365504af19c50f43c2b894b2c31ab9390
parent8146784d0d6b037343f0f08a425d4a0b342af15b
Revert previous diff setting cold to 1 on shutdown because it breaks machine
with softraid(4) disks.

softraid(4) is the last real consumer of the doshutdownhooks(9) API and it is
not trivial to convert its hook to a DVACT_POWERDOWN handler since the latter
does not allow to sleep.
20 files changed:
sys/arch/alpha/alpha/machdep.c
sys/arch/amd64/amd64/machdep.c
sys/arch/armish/armish/armish_machdep.c
sys/arch/armv7/armv7/armv7_machdep.c
sys/arch/aviion/aviion/machdep.c
sys/arch/hppa/hppa/machdep.c
sys/arch/hppa64/hppa64/machdep.c
sys/arch/i386/i386/machdep.c
sys/arch/landisk/landisk/machdep.c
sys/arch/loongson/loongson/machdep.c
sys/arch/luna88k/luna88k/machdep.c
sys/arch/macppc/macppc/machdep.c
sys/arch/octeon/octeon/machdep.c
sys/arch/sgi/sgi/machdep.c
sys/arch/socppc/socppc/machdep.c
sys/arch/solbourne/solbourne/machdep.c
sys/arch/sparc/sparc/machdep.c
sys/arch/sparc64/sparc64/machdep.c
sys/arch/vax/vax/machdep.c
sys/arch/zaurus/zaurus/zaurus_machdep.c