diff options
author | Haojian Zhuang <haojian.zhuang@linaro.org> | 2014-04-15 14:52:00 +0800 |
---|---|---|
committer | Wei Xu <xuwei5@hisilicon.com> | 2014-09-03 14:09:58 +0100 |
commit | ebf4a5c5b4027b682ed8877a938e6d1d92f37745 (patch) | |
tree | f67f4ea317fd7d0d3858bb7d7b12baf2f7890a70 /arch/arm/include | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) | |
download | blackbird-obmc-linux-ebf4a5c5b4027b682ed8877a938e6d1d92f37745.tar.gz blackbird-obmc-linux-ebf4a5c5b4027b682ed8877a938e6d1d92f37745.zip |
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 @@ * to consider dynamic allocation. */ #define MAX_CPUS_PER_CLUSTER 4 + +#ifdef CONFIG_MCPM_QUAD_CLUSTER +#define MAX_NR_CLUSTERS 4 +#else #define MAX_NR_CLUSTERS 2 +#endif #ifndef __ASSEMBLY__ |