Searched hist:"0 e2110d2e910e44cc7cf23fce14613e232602602" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | reboot.h | diff 0e2110d2e910e44cc7cf23fce14613e232602602 Mon May 09 18:32:15 CDT 2022 Dmitry Osipenko <dmitry.osipenko@collabora.com> kernel/reboot: Add kernel_can_power_off()
Add kernel_can_power_off() helper that replaces open-coded checks of the global pm_power_off variable. This is a necessary step towards supporting chained power-off handlers.
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
/openbmc/linux/kernel/ |
H A D | reboot.c | diff 0e2110d2e910e44cc7cf23fce14613e232602602 Mon May 09 18:32:15 CDT 2022 Dmitry Osipenko <dmitry.osipenko@collabora.com> kernel/reboot: Add kernel_can_power_off()
Add kernel_can_power_off() helper that replaces open-coded checks of the global pm_power_off variable. This is a necessary step towards supporting chained power-off handlers.
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|