[PATCH RFC 09/22] drivers: base: add arch_cpu_is_hotpluggable()
Gavin Shan
gshan at redhat.com
Sun Nov 12 16:56:56 PST 2023
On 11/7/23 20:30, Russell King (Oracle) wrote:
> The differences between architecture specific implementations of
> arch_register_cpu() are down to whether the CPU is hotpluggable or not.
> Rather than overriding the weak version of arch_register_cpu(), provide
> a function that can be used to provide this detail instead.
>
> Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>
> ---
> drivers/base/cpu.c | 11 ++++++++++-
> include/linux/cpu.h | 1 +
> 2 files changed, 11 insertions(+), 1 deletion(-)
>
Reviewed-by: Gavin Shan <gshan at redhat.com>
More information about the linux-riscv
mailing list