From: 黄涛 Date: Mon, 25 Feb 2013 06:44:51 +0000 (+0800) Subject: rk: disable disable_nonboot_cpus when kernel restart X-Git-Tag: firefly_0821_release~7528 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cbf319ea81fc0066a389c8ff7015871ee59bd152;p=firefly-linux-kernel-4.4.55.git rk: disable disable_nonboot_cpus when kernel restart work around rk3188 cpu down bug temporarily. --- diff --git a/kernel/sys.c b/kernel/sys.c index 01f195e96073..8b1ca84d09e2 100644 --- 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