[PATCH RFC v3 18/21] ACPI: processor: Only call arch_unregister_cpu() if HOTPLUG_CPU is selected
Jonathan Cameron
Jonathan.Cameron at Huawei.com
Fri Dec 15 08:50:09 PST 2023
On Wed, 13 Dec 2023 12:50:43 +0000
Russell King (Oracle) <rmk+kernel at armlinux.org.uk> wrote:
> From: James Morse <james.morse at arm.com>
>
> The kbuild robot points out that configurations without HOTPLUG_CPU
> selected can try to build acpi_processor_post_eject() without success
> as arch_unregister_cpu() is not defined.
>
> Check this explicitly. This will be merged into:
> | ACPI: Add post_eject to struct acpi_scan_handler for cpu hotplug
> for any subsequent posting.
>
> Reported-by: kbuild test robot <lkp at intel.com>
> Signed-off-by: James Morse <james.morse at arm.com>
> Tested-by: Miguel Luis <miguel.luis at oracle.com>
> Tested-by: Vishnu Pajjuri <vishnu at os.amperecomputing.com>
> Tested-by: Jianyong Wu <jianyong.wu at arm.com>
> ---
> This should probably be squashed into an earlier patch.
Agreed. If not
Reviewed-by: Jonathan Cameron <Jonathan.Cameron at huawei.com>
More information about the linux-riscv
mailing list