diff options
author | Chen-Hui Zhao <chenhui.zhao@freescale.com> | 2013-04-03 09:09:09 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2013-04-03 12:43:02 -0400 |
commit | ddb487dca347956ed3bedda1f5a00ab62d05ebff (patch) | |
tree | f14e52ea98ceb13278e05b0e57865545f32d189d /arch/powerpc | |
parent | 58631ad1205677c5b33f511fd5aae26eaa0c87c6 (diff) |
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 <chenhui.zhao@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/platforms/85xx/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
201 | * We don't set the BPTR register here since it already points | 201 | * We don't set the BPTR register here since it already points |
202 | * to the boot page properly. | 202 | * to the boot page properly. |
203 | */ | 203 | */ |
204 | mpic_reset_core(hw_cpu); | 204 | mpic_reset_core(nr); |
205 | 205 | ||
206 | /* | 206 | /* |
207 | * wait until core is ready... | 207 | * wait until core is ready... |