Michael Ellerman 605ddb3a6e powerpc/smp: Increase nr_cpu_ids to include the boot CPU
[ Upstream commit 777f81f0a9c780a6443bcf2c7785f0cc2e87c1ef ]

If nr_cpu_ids is too low to include the boot CPU adjust nr_cpu_ids
upward. Otherwise the kernel will BUG when trying to allocate a paca
for the boot CPU and fail to boot.

Cc: stable@vger.kernel.org
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231229120107.2281153-2-mpe@ellerman.id.au
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-03 15:19:26 +02:00
..
2021-12-09 22:41:21 +11:00
2022-05-28 11:27:17 -07:00
2022-05-05 22:12:44 +10:00
2022-05-08 22:15:40 +10:00
2022-05-05 22:12:44 +10:00
2022-09-26 23:00:13 +10:00
2022-02-07 21:03:10 +11:00
2022-01-14 15:17:26 +01:00
2022-02-07 21:03:10 +11:00
2022-02-07 21:03:10 +11:00
2022-10-10 12:49:34 -07:00
2022-09-26 23:00:14 +10:00
2022-05-08 22:15:40 +10:00
2022-09-26 22:47:37 +10:00
2022-09-26 23:00:14 +10:00
2021-12-09 22:41:21 +11:00
2022-09-26 23:00:13 +10:00
2022-05-08 22:15:40 +10:00
2022-09-26 23:00:13 +10:00
2022-05-08 22:15:40 +10:00
2022-05-08 22:15:40 +10:00
2022-05-08 22:15:40 +10:00
2022-09-26 20:58:18 +10:00
2022-05-08 22:15:40 +10:00
2022-05-08 22:15:40 +10:00
2022-09-26 23:00:13 +10:00
2022-09-26 22:47:37 +10:00
2022-09-28 19:22:09 +10:00
2022-09-26 23:00:13 +10:00
2021-12-09 22:41:21 +11:00