summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorXiang Wang <merle@hardenedlinux.org>2019-09-06 06:56:09 +0300
committerPaul Walmsley <paul.walmsley@sifive.com>2019-09-20 18:36:36 +0300
commitb47613da3b71ca59cc6924bad2d74974f86fab92 (patch)
tree0a27f8f20312222b3357cf1b3caffbc5b25d992a /include/uapi
parent1cec0ce2e97f3e48d9af52e69e21bc614b14dd16 (diff)
downloadlinux-b47613da3b71ca59cc6924bad2d74974f86fab92.tar.xz
arch/riscv: disable excess harts before picking main boot hart
Harts with id greater than or equal to CONFIG_NR_CPUS need to be disabled. But the kernel can pick any hart as the main hart. So, before picking the main hart, the kernel must disable harts with ids greater than or equal to CONFIG_NR_CPUS. Signed-off-by: Xiang Wang <merle@hardenedlinux.org> Reviewed-by: Palmer Dabbelt <palmer@sifive.com> Reviewed-by: Anup Patel <anup.patel@wdc.com> [paul.walmsley@sifive.com: updated to apply; cleaned up patch description] Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions