Re: [PATCH RFC 20/22] LoongArch: convert to use arch_cpu_is_hotpluggable()

From: Gavin Shan
Date: Sun Nov 12 2023 - 23:23:12 EST


On 11/7/23 20:31, Russell King (Oracle) wrote:
Convert loongarch to use the arch_cpu_is_hotpluggable() helper rather
than arch_register_cpu(). Also remove the export as nothing should be
using arch_register_cpu() outside of the core kernel/acpi code.

Signed-off-by: Russell King (Oracle) <rmk+kernel@xxxxxxxxxxxxxxx>
---
arch/loongarch/kernel/topology.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)


Reviewed-by: Gavin Shan <gshan@xxxxxxxxxx>