summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/cpu-info.h
diff options
context:
space:
mode:
authorHuacai Chen <chenhc@lemote.com>2014-06-26 11:41:25 +0800
committerRalf Baechle <ralf@linux-mips.org>2014-07-30 21:44:46 +0200
commit0f3f506b275517250ee0169ec075d5382967f5f6 (patch)
treeb1f3aa1113a17c7b77d763143ab6dd6d392abeaa /arch/mips/include/asm/cpu-info.h
parente5cd534a3125af4aaa2feb7de9f7700d0a8e91d1 (diff)
downloadlinux-next-0f3f506b275517250ee0169ec075d5382967f5f6.tar.gz
MIPS: Support hard limit of cpu count (nr_cpu_ids)
On MIPS currently, only the soft limit of cpu count (maxcpus) has its effect, this patch enable the hard limit (nr_cpus) as well. Processor cores which greater than maxcpus and less than nr_cpus can be taken up via cpu hotplug. The code is borrowed from X86. Signed-off-by: Huacai Chen <chenhc@lemote.com> Reviewed-by: Andreas Herrmann <andreas.herrmann@caviumnetworks.com> Cc: John Crispin <john@phrozen.org> Cc: Steven J. Hill <Steven.Hill@imgtec.com> Cc: Aurelien Jarno <aurelien@aurel32.net> Cc: linux-mips@linux-mips.org Cc: Fuxin Zhang <zhangfx@lemote.com> Cc: Zhangjin Wu <wuzhangjin@gmail.com> Patchwork: https://patchwork.linux-mips.org/patch/7183/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/cpu-info.h')
0 files changed, 0 insertions, 0 deletions