Re: [PATCH 09/21] drivers: base: add arch_cpu_is_hotpluggable()
Gavin Shan <[email protected]> Fri, 1 Dec 2023 14:47:49 +1100
| Newsgroups | gmane.linux.ports.riscv,gmane.linux.power-management.general,gmane.linux.acpi.devel,gmane.linux.kernel.cross-arch,gmane.linux.kernel,gmane.linux.ports.arm.kernel,gmane.linux.documentation,gmane.linux.ports.ia64,gmane.linux.ports.parisc |
|---|---|
| Message-ID | <[email protected]> |
On 11/22/23 00:44, 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. > > Reviewed-by: Shaoqin Huang <[email protected]> > Signed-off-by: Russell King (Oracle) <[email protected]> > --- > drivers/base/cpu.c | 11 ++++++++++- > include/linux/cpu.h | 1 + > 2 files changed, 11 insertions(+), 1 deletion(-) > Reviewed-by: Gavin Shan <[email protected]>