projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0d738a
)
powerpc: Call chained reset handlers during reset
author
Andrey Smirnov
<andrew.smirnov@gmail.com>
Thu, 28 Jul 2016 23:07:17 +0000
(16:07 -0700)
committer
Scott Wood
<oss@buserror.net>
Sun, 25 Sep 2016 05:06:40 +0000
(
00:06
-0500)
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>
arch/powerpc/kernel/setup-common.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kernel/setup-common.c
b/arch/powerpc/kernel/setup-common.c
index a730d5b25eb4d4031fcbdc77b0ee006ee4eab104..270ee30abdcf739982438271d8b5957e7e830dbb 100644
(file)
--- a/
arch/powerpc/kernel/setup-common.c
+++ b/
arch/powerpc/kernel/setup-common.c
@@
-146,6
+146,10
@@
void machine_restart(char *cmd)
ppc_md.restart(cmd);
smp_send_stop();
+
+ do_kernel_restart(cmd);
+ mdelay(1000);
+
machine_hang();
}