
On Aug 5, 2011, at 4:15 PM, Timur Tabi wrote:
Some SOCs have discontiguously-numbered cores, and so we can't determine the valid core numbers via the FRR register any more. We define CPU_TYPE_ENTRY_MASK to specify a discontiguous core mask, and helper functions to process the mask and enumerate over the set of valid cores.
Signed-off-by: Timur Tabi timur@freescale.com Signed-off-by: Kumar Gala galak@kernel.crashing.org
arch/powerpc/cpu/mpc85xx/cpu.c | 9 ++++--- arch/powerpc/cpu/mpc85xx/mp.c | 27 +++++++++++-------------- arch/powerpc/cpu/mpc85xx/speed.c | 7 +++-- arch/powerpc/cpu/mpc8xxx/cpu.c | 36 ++++++++++++++++++++++++++++++++- arch/powerpc/cpu/mpc8xxx/fdt.c | 2 +- arch/powerpc/include/asm/processor.h | 6 ++++- common/cmd_mp.c | 5 +-- include/common.h | 15 ++++++++++++++ 8 files changed, 78 insertions(+), 29 deletions(-)
applied to 85xx next
- k