summaryrefslogtreecommitdiff
path: root/include/linux/pps_kernel.h
diff options
context:
space:
mode:
authorPengjie Zhang <zhangpengjie2@huawei.com>2026-05-06 12:08:51 +0300
committerWill Deacon <will@kernel.org>2026-05-19 14:17:09 +0300
commite7cec385d2c6726e692d057f91f20b08c2981af3 (patch)
tree453048739754da3f7bbb3ed23bb88bd96a6d20b4 /include/linux/pps_kernel.h
parent827ce94e0897a70241abf810b1d3d7d083053a39 (diff)
downloadlinux-e7cec385d2c6726e692d057f91f20b08c2981af3.tar.xz
arm64: smp: Do not mark secondary CPUs possible under nosmp
Under nosmp (maxcpus=0), arm64 never brings up secondary CPUs. smp_prepare_cpus() already treats this as a UP-mandated boot and returns before marking secondary CPUs present. However, smp_init_cpus() may still enumerate firmware-described secondary CPUs and mark them possible before that point. Avoid marking secondary CPUs possible when nosmp/maxcpus=0 is in effect, so that cpu_possible_mask reflects the nosmp boot policy for this boot. Suggested-by: Catalin Marinas <catalin.marinas@arm.com> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Pengjie Zhang <zhangpengjie2@huawei.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'include/linux/pps_kernel.h')
0 files changed, 0 insertions, 0 deletions