commit | 47289422d9b6446fffddd3398c84c5ece347a2ce | [log] [tgz] |
---|---|---|
author | Timur Tabi <timur@freescale.com> | Fri Aug 05 16:15:24 2011 -0500 |
committer | Kumar Gala <galak@kernel.crashing.org> | Thu Sep 29 19:01:05 2011 -0500 |
tree | b19bce4d9c77be58fc1aba43bd73625222c99f8f | |
parent | d1a41cffd0a48153c7d3f57611a0f9b278ce6b9b [diff] |
powerpc/mp: add support for discontiguous cores 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>