commit | fbb9ecf7493fbd6b8c8af7d52e90c915459f7040 | [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 | 86df5142a14868ea0e24511f4293d43a611a2b39 [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>