]> 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)
commitf8bc1d748b2bab505cea20746c4cba436807fecf
tree3a45fa40d1f2bedc39c5d59970918fd91e495534
parentb482605f7939bd4035b2d11a7952dc3da5821c6d
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