diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2023-05-13 00:07:03 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-05-15 14:44:48 +0300 |
commit | 666e1156b2c514f045827f50263ed2eb9d78671b (patch) | |
tree | 55490f335a221f271ce04f186d9ceac3739dd966 /arch/x86/kernel/callthunks.c | |
parent | 134a12827bc59484c4d4a3ceabf178c831febbb8 (diff) | |
download | linux-666e1156b2c514f045827f50263ed2eb9d78671b.tar.xz |
x86/smpboot: Rename start_cpu0() to soft_restart_cpu()
This is used in the SEV play_dead() implementation to re-online CPUs. But
that has nothing to do with CPU0.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Tested-by: Helge Deller <deller@gmx.de> # parisc
Tested-by: Guilherme G. Piccoli <gpiccoli@igalia.com> # Steam Deck
Link: https://lore.kernel.org/r/20230512205255.662319599@linutronix.de
Diffstat (limited to 'arch/x86/kernel/callthunks.c')
-rw-r--r-- | arch/x86/kernel/callthunks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/callthunks.c b/arch/x86/kernel/callthunks.c index 22ab13966427..f5a623641361 100644 --- a/arch/x86/kernel/callthunks.c +++ b/arch/x86/kernel/callthunks.c @@ -134,7 +134,7 @@ static bool skip_addr(void *dest) if (dest == ret_from_fork) return true; #ifdef CONFIG_HOTPLUG_CPU - if (dest == start_cpu0) + if (dest == soft_restart_cpu) return true; #endif #ifdef CONFIG_FUNCTION_TRACER |