forked from Minki/linux
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: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Scott Wood <oss@buserror.net>
This commit is contained in:
parent
d0d738a414
commit
ad24747304
@ -146,6 +146,10 @@ void machine_restart(char *cmd)
|
||||
ppc_md.restart(cmd);
|
||||
|
||||
smp_send_stop();
|
||||
|
||||
do_kernel_restart(cmd);
|
||||
mdelay(1000);
|
||||
|
||||
machine_hang();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user