]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
riscv: remove redundant check for CONFIG_SMP
authorHui Wang <hui.wang@canonical.com>
Sun, 5 Apr 2026 00:42:41 +0000 (18:42 -0600)
committerPaul Walmsley <pjw@kernel.org>
Sun, 5 Apr 2026 00:42:41 +0000 (18:42 -0600)
commit22a9c228afb609bb7413eb5d26e6a672c939aa59
tree652c4eff487549c4b094bbad993f1c82005eb7c8
parent7eb2e2954687bae09ca1b813df5d338744e7e538
riscv: remove redundant check for CONFIG_SMP

In the arch/riscv/Kconfig, the HOTPLUG_CPU depends on SMP, hence if
the HOTPLUG_CPU is defined, the SMP has to be defined, it is not
necessary to check SMP here.

Signed-off-by: Hui Wang <hui.wang@canonical.com>
Link: https://patch.msgid.link/20260304033403.238012-1-hui.wang@canonical.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
arch/riscv/include/asm/smp.h