mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
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
1 changed files with 4 additions and 0 deletions
|
|
@ -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 a new issue