projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed9df05
)
rk: disable disable_nonboot_cpus when kernel restart
author
黄涛
<huangtao@rock-chips.com>
Mon, 25 Feb 2013 06:44:51 +0000
(14:44 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Mon, 25 Feb 2013 06:49:03 +0000
(14:49 +0800)
work around rk3188 cpu down bug temporarily.
kernel/sys.c
patch
|
blob
|
history
diff --git
a/kernel/sys.c
b/kernel/sys.c
index 01f195e9607323ac1595e429917b8617fdb727a6..8b1ca84d09e2deda77c9b7cef9ad09ac78fd262d 100644
(file)
--- a/
kernel/sys.c
+++ b/
kernel/sys.c
@@
-351,7
+351,9
@@
void kernel_restart(char *cmd)
restart_dbg("%s->%d->cmd=%s",__FUNCTION__,__LINE__,cmd);
kernel_restart_prepare(cmd);
+#ifndef CONFIG_PLAT_RK
disable_nonboot_cpus();
+#endif
if (!cmd)
printk(KERN_EMERG "Restarting system.\n");
else