powerpc/mpc8xxx: fix core id for multicore booting
authorYork Sun <yorksun@freescale.com>
Fri, 17 Aug 2012 08:20:26 +0000 (08:20 +0000)
committerAndy Fleming <afleming@freescale.com>
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 <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/cpu/mpc85xx/fdt.c
arch/powerpc/cpu/mpc85xx/release.S
arch/powerpc/cpu/mpc8xxx/fdt.c
arch/powerpc/include/asm/mp.h