-
- Downloads
reboot: Introduce thermal_zone_device_critical_reboot()
Introduce thermal_zone_device_critical_reboot() to trigger an emergency reboot. It is a counterpart of thermal_zone_device_critical() with the difference that it will force a reboot instead of shutdown. The motivation for doing this is to allow the thermal subystem to trigger a reboot when the temperature reaches the critical temperature. Signed-off-by:Fabio Estevam <festevam@denx.de> Signed-off-by:
Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20231129124330.519423-3-festevam@gmail.com
Showing
- drivers/thermal/thermal_core.c 7 additions, 0 deletionsdrivers/thermal/thermal_core.c
- drivers/thermal/thermal_core.h 1 addition, 0 deletionsdrivers/thermal/thermal_core.h
- include/linux/reboot.h 5 additions, 0 deletionsinclude/linux/reboot.h
- kernel/reboot.c 17 additions, 11 deletionskernel/reboot.c
Loading
Please register or sign in to comment