Home
last modified time | relevance | path

Searched hist:"0 e2110d2e910e44cc7cf23fce14613e232602602" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/
H A Dreboot.hdiff 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 Dreboot.cdiff 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>