]> Gentwo Git Trees - linux/.git/commit
cpu/hotplug: Provide weak fallback for arch_cpuhp_init_parallel_bringup()
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Tue, 16 Jul 2024 14:14:59 +0000 (22:14 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 2 Aug 2024 14:13:46 +0000 (16:13 +0200)
commit2dce993165088dbe728faa21547e3b74213b6732
tree643bc4b7314b4c6e4fb58dea51827b4705d208bb
parentc0e81a455e23f77683178b8ae32651df5841f065
cpu/hotplug: Provide weak fallback for arch_cpuhp_init_parallel_bringup()

CONFIG_HOTPLUG_PARALLEL expects the architecture to implement
arch_cpuhp_init_parallel_bringup() to decide whether paralllel hotplug is
possible and to do the necessary architecture specific initialization.

There are architectures which can enable it unconditionally and do not
require architecture specific initialization.

Provide a weak fallback for arch_cpuhp_init_parallel_bringup() so that
such architectures are not forced to implement empty stub functions.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20240716-loongarch-hotplug-v3-2-af59b3bb35c8@flygoat.com
kernel/cpu.c