Skip to content

Commit

Permalink
powerpc/85xx: fix a bug with the parameter of mpic_reset_core()
Browse files Browse the repository at this point in the history
mpic_reset_core() need a logical cpu number instead of physical.

Signed-off-by: Zhao Chenhui <[email protected]>
Signed-off-by: Li Yang <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
  • Loading branch information
Chen-Hui Zhao authored and kumargala committed Apr 3, 2013
1 parent 58631ad commit ddb487d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/85xx/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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...
Expand Down

0 comments on commit ddb487d

Please sign in to comment.