From: Chen-Hui Zhao Date: Wed, 3 Apr 2013 13:09:09 +0000 (+0800) Subject: powerpc/85xx: fix a bug with the parameter of mpic_reset_core() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ddb487dca347956ed3bedda1f5a00ab62d05ebff;p=linux-beck.git 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: Zhao Chenhui Signed-off-by: Li Yang Signed-off-by: Kumar Gala --- diff --git a/arch/powerpc/platforms/85xx/smp.c b/arch/powerpc/platforms/85xx/smp.c index 148c2f2d9780..6a1759939c6b 100644 --- a/arch/powerpc/platforms/85xx/smp.c +++ b/arch/powerpc/platforms/85xx/smp.c @@ -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...