On 11/7/23 20:29, Russell King (Oracle) wrote:
arch_register_cpu() and arch_unregister_cpu() are not used by anything that can be a module - they are used by drivers/base/cpu.c and drivers/acpi/acpi_processor.c, neither of which can be a module. Remove the exports. Signed-off-by: Russell King (Oracle) <rmk+kernel@xxxxxxxxxxxxxxx> --- arch/loongarch/kernel/topology.c | 2 -- 1 file changed, 2 deletions(-)
Reviewed-by: Gavin Shan <gshan@xxxxxxxxxx>