summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-09-17 06:56:31 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2024-09-17 06:56:31 +0200
commit97e17c08a428b17531894b59990d6b9ff3e95eab (patch)
treeb188e1d0c8ddc14ced09f7003fcc4f93fb52fd7d /arch/mips
parenta430d95c5efa2b545d26a094eb5f624e36732af0 (diff)
parent1d07085402d122f223bda3f8b72bea37a46ee0c9 (diff)
downloadlwn-97e17c08a428b17531894b59990d6b9ff3e95eab.tar.gz
lwn-97e17c08a428b17531894b59990d6b9ff3e95eab.zip
Merge tag 'smp-core-2024-09-16' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull CPU hotplug updates from Thomas Gleixner: - Prepare the core for supporting parallel hotplug on loongarch - A small set of cleanups and enhancements * tag 'smp-core-2024-09-16' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: smp: Mark smp_prepare_boot_cpu() __init cpu: Fix W=1 build kernel-doc warning cpu/hotplug: Provide weak fallback for arch_cpuhp_init_parallel_bringup() cpu/hotplug: Make HOTPLUG_PARALLEL independent of HOTPLUG_SMT
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.c
index 0362fc5df7b0..39e193cad2b9 100644
--- a/arch/mips/kernel/smp.c
+++ b/arch/mips/kernel/smp.c
@@ -439,7 +439,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
}
/* preload SMP state for boot cpu */
-void smp_prepare_boot_cpu(void)
+void __init smp_prepare_boot_cpu(void)
{
if (mp_ops->prepare_boot_cpu)
mp_ops->prepare_boot_cpu();