2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-13 08:04:45 +08:00

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>
This commit is contained in:
Chen-Hui Zhao 2013-04-03 21:09:09 +08:00 committed by Kumar Gala
parent 58631ad120
commit ddb487dca3

View 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...