tmp_suning_uos_patched/arch/powerpc/platforms
Milton Miller 6a75a6b8e8 powerpc: Use cpu_thread_in_core in smp_init for of_spin_map
We used to assume that even numbered threads were the primary
threads, ie those that would be listed and started as a cpu from
open firmware.  Replace a left over is even (% 2) check with a check
for it being a primary thread and update the comments.

Tested with a debug print on pseries, identical code found for cell.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2008-10-21 15:19:12 +11:00
..
8xx
40x
44x
52xx
82xx
83xx
85xx
86xx
512x
cell
chrp
embedded6xx
iseries
maple
pasemi
powermac
prep
ps3
pseries
fsl_uli1575.c
Kconfig
Kconfig.cputype
Makefile