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

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
...@@ -146,6 +146,10 @@ void machine_restart(char *cmd) ...@@ -146,6 +146,10 @@ void machine_restart(char *cmd)
ppc_md.restart(cmd); ppc_md.restart(cmd);
smp_send_stop(); smp_send_stop();
do_kernel_restart(cmd);
mdelay(1000);
machine_hang(); machine_hang();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment