mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
microblaze: reset: Call POWER_OFF handlers
System power off might be implemented through sys_off handlers. Currently these are not respected on microblaze. On power_off call into the generic power off function which will execute all regustered handlers. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Acked-by: David Gow <david@davidgow.net> Link: https://patch.msgid.link/20260914-kunit-microblaze-v2-3-7d5756e858f8@weissschuh.net Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
parent
b9eababe8c
commit
4ebcbacb0b
|
|
@ -28,6 +28,7 @@ void machine_halt(void)
|
|||
void machine_power_off(void)
|
||||
{
|
||||
pr_notice("Machine power off...\n");
|
||||
do_kernel_power_off();
|
||||
while (1)
|
||||
;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user