]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Support hard limit of cpu count by nr_cpus
authorKefeng Wang <wangkefeng.wang@huawei.com>
Tue, 9 Aug 2016 02:30:49 +0000 (10:30 +0800)
committerWill Deacon <will.deacon@arm.com>
Tue, 9 Aug 2016 10:00:44 +0000 (11:00 +0100)
commit1c3880f8c60c0092a41a07e1ce825f6cbcc4b9fd
tree3a45fa40d1f2bedc39c5d59970918fd91e495534
parent1372dac0367f9e37512ea4720cf3886bcb42562d
arm64: Support hard limit of cpu count by nr_cpus

Enable the hard limit of cpu count by set boot options nr_cpus=x
on arm64, and make a minor change about message when total number
of cpu exceeds the limit.

Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Reported-by: Shiyuan Hu <hushiyuan@huawei.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/smp.c