[PATCH 0/2] reboot: Introduce emergency_poweroff function

From: Keerthy
Date: Thu Jan 28 2016 - 08:06:49 EST


The series introduces a new function emergency_poweroff which shuts
down the system after a configurable period of time. emergency_poweroff
is appropriate in case of thermal shutdown scenario.

Tested on DRA7-EVM.

Keerthy (2):
reboot: Introduce emergency poweroff function
thermal: Use emergency_poweroff instead of orderly_poweroff for
shutdown scenario

arch/Kconfig | 9 +++++++++
drivers/thermal/thermal_core.c | 2 +-
include/linux/reboot.h | 1 +
kernel/reboot.c | 31 +++++++++++++++++++++++++++++++
4 files changed, 42 insertions(+), 1 deletion(-)

--
1.9.1