powerpc/85xx: fix a bug with the parameter of mpic_reset_core()
authorChen-Hui Zhao <chenhui.zhao@freescale.com>
Wed, 3 Apr 2013 13:09:09 +0000 (21:09 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 3 Apr 2013 16:43:02 +0000 (11:43 -0500)
mpic_reset_core() need a logical cpu number instead of physical.

Signed-off-by: Zhao Chenhui <chenhui.zhao@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/85xx/smp.c

index 148c2f2d9780dc59c09841136c5e25813cb6f785..6a1759939c6ba47fff97cae12ecc50a79643c606 100644 (file)
@@ -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
                 * to the boot page properly.
                 */
-               mpic_reset_core(hw_cpu);
+               mpic_reset_core(nr);
 
                /*
                 * wait until core is ready...
This page took 0.025767 seconds and 5 git commands to generate.