From: "Steven J. Hill" <Steven.Hill@xxxxxxxxxx> Patch "MIPS: Allow __cpu_number_map to be larger than NR_CPUS" was incomplete, thus breaking all MIPS builds. Signed-off-by: Steven J. Hill <steven.hill@xxxxxxxxxx> --- arch/mips/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 87ed0ff..da74db1 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -2726,6 +2726,14 @@ config NR_CPUS config MIPS_PERF_SHARED_TC_COUNTERS bool +config MIPS_NR_CPU_NR_MAP_1024 + bool + +config MIPS_NR_CPU_NR_MAP + int + default 1024 if MIPS_NR_CPU_NR_MAP_1024 + default NR_CPUS if !MIPS_NR_CPU_NR_MAP_1024 + # # Timer Interrupt Frequency Configuration # -- 2.1.4