[PATCH RFC 03/22] x86/topology: remove arch_*register_cpu() exports

Jonathan Cameron Jonathan.Cameron at Huawei.com
Tue Nov 28 06:42:24 PST 2023


On Tue, 07 Nov 2023 10:29:33 +0000
"Russell King (Oracle)" <rmk+kernel at armlinux.org.uk> 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 at armlinux.org.uk>

Would be 'novel' to have CPUs registered by a module.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron at huawei.com>




More information about the linux-riscv mailing list