Skip to content

Commit ad24747

Browse files
ndreysScott Wood
authored andcommitted
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 <[email protected]> Signed-off-by: Scott Wood <[email protected]>
1 parent d0d738a commit ad24747

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/powerpc/kernel/setup-common.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ void machine_restart(char *cmd)
146146
ppc_md.restart(cmd);
147147

148148
smp_send_stop();
149+
150+
do_kernel_restart(cmd);
151+
mdelay(1000);
152+
149153
machine_hang();
150154
}
151155

0 commit comments

Comments
 (0)