summaryrefslogtreecommitdiff
path: root/arch/alpha/kernel
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2024-03-04 11:12:22 +0100
committerIngo Molnar <mingo@kernel.org>2024-03-04 12:01:54 +0100
commit712610725c48c829e42bebfc9908cd92468e2731 (patch)
tree48ab84808ef0195a784ce0cdb94b8f0b9bfcf41c /arch/alpha/kernel
parent5323922f50ecdf9d10cdd2fabd06507e5b4f3feb (diff)
smp: Consolidate smp_prepare_boot_cpu()
There is no point in having seven architectures implementing the same empty stub. Provide a weak function in the init code and remove the stubs. This also allows to utilize the function on UP which is required to sanitize the per CPU handling on X86 UP. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20240304005104.567671691@linutronix.de
Diffstat (limited to 'arch/alpha/kernel')
-rw-r--r--arch/alpha/kernel/smp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/alpha/kernel/smp.c b/arch/alpha/kernel/smp.c
index 7439b2377df5..8e9dd63b220c 100644
--- a/arch/alpha/kernel/smp.c
+++ b/arch/alpha/kernel/smp.c
@@ -467,11 +467,6 @@ smp_prepare_cpus(unsigned int max_cpus)
smp_num_cpus = smp_num_probed;
}
-void
-smp_prepare_boot_cpu(void)
-{
-}
-
int
__cpu_up(unsigned int cpu, struct task_struct *tidle)
{