diff options
author | Haojian Zhuang <haojian.zhuang@linaro.org> | 2014-04-15 02:52:00 -0400 |
---|---|---|
committer | Wei Xu <xuwei5@hisilicon.com> | 2014-09-03 09:09:58 -0400 |
commit | ebf4a5c5b4027b682ed8877a938e6d1d92f37745 (patch) | |
tree | f67f4ea317fd7d0d3858bb7d7b12baf2f7890a70 /arch/arm/include | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) |
ARM: mcpm: support 4 clusters
Add the CONFIG_MCPM_QUAD_CLUSTER configuration to enlarge cluster number
from 2 to 4.
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Reviewed-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/mcpm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mcpm.h b/arch/arm/include/asm/mcpm.h index 57ff7f2a3084..d428e386c88e 100644 --- a/arch/arm/include/asm/mcpm.h +++ b/arch/arm/include/asm/mcpm.h | |||
@@ -20,7 +20,12 @@ | |||
20 | * to consider dynamic allocation. | 20 | * to consider dynamic allocation. |
21 | */ | 21 | */ |
22 | #define MAX_CPUS_PER_CLUSTER 4 | 22 | #define MAX_CPUS_PER_CLUSTER 4 |
23 | |||
24 | #ifdef CONFIG_MCPM_QUAD_CLUSTER | ||
25 | #define MAX_NR_CLUSTERS 4 | ||
26 | #else | ||
23 | #define MAX_NR_CLUSTERS 2 | 27 | #define MAX_NR_CLUSTERS 2 |
28 | #endif | ||
24 | 29 | ||
25 | #ifndef __ASSEMBLY__ | 30 | #ifndef __ASSEMBLY__ |
26 | 31 | ||