Commit ddb487dc authored by Chen-Hui Zhao's avatar Chen-Hui Zhao Committed by Kumar Gala

powerpc/85xx: fix a bug with the parameter of mpic_reset_core()

mpic_reset_core() need a logical cpu number instead of physical.
Signed-off-by: default avatarZhao Chenhui <chenhui.zhao@freescale.com>
Signed-off-by: default avatarLi Yang <leoli@freescale.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 58631ad1
...@@ -201,7 +201,7 @@ static int __cpuinit smp_85xx_kick_cpu(int nr) ...@@ -201,7 +201,7 @@ static int __cpuinit smp_85xx_kick_cpu(int nr)
* We don't set the BPTR register here since it already points * We don't set the BPTR register here since it already points
* to the boot page properly. * to the boot page properly.
*/ */
mpic_reset_core(hw_cpu); mpic_reset_core(nr);
/* /*
* wait until core is ready... * wait until core is ready...
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment