Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad247473 authored by Andrey Smirnov's avatar Andrey Smirnov Committed by Scott Wood
Browse files

powerpc: Call chained reset handlers during reset



Call out to all restart handlers that were added via
register_restart_handler() API when restarting the machine.

Signed-off-by: default avatarAndrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: default avatarScott Wood <oss@buserror.net>
parent d0d738a4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -146,6 +146,10 @@ void machine_restart(char *cmd)
		ppc_md.restart(cmd);

	smp_send_stop();

	do_kernel_restart(cmd);
	mdelay(1000);

	machine_hang();
}