powerpc/mpc8xxx: fix core id for multicore booting
authorYork Sun <[email protected]>
Fri, 17 Aug 2012 08:20:26 +0000 (08:20 +0000)
committerAndy Fleming <[email protected]>
Thu, 23 Aug 2012 17:16:55 +0000 (12:16 -0500)
commit709389b654de05fd6035656f5e082ba1757807b3
tree1fee7e92d8155b20351a59eb51ef7d36e337a6f0
parentffdf8890ae2564e8b5af36b1b384ca7e9bcdd7c2
powerpc/mpc8xxx: fix core id for multicore booting

For the cores with multiple threads, we need to figure out which physical
core a thread belongs. To match the core ids, update PIR registers and
spin tables.

Signed-off-by: York Sun <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
Signed-off-by: Andy Fleming <[email protected]>
arch/powerpc/cpu/mpc85xx/fdt.c
arch/powerpc/cpu/mpc85xx/release.S
arch/powerpc/cpu/mpc8xxx/fdt.c
arch/powerpc/include/asm/mp.h