summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/nmi_selftest.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2023-05-12 23:07:12 +0200
committerPeter Zijlstra <peterz@infradead.org>2023-05-15 13:44:51 +0200
commite94cd1503b153ea753f0c4ed9d5ed12e7abd1306 (patch)
tree96af41fa02c9e248e174d95c38ca586d89e3ad42 /arch/x86/kernel/nmi_selftest.c
parent2b3be65d2e4f4bb9358b039b99ad1a391dd3c311 (diff)
x86/smpboot: Get rid of cpu_init_secondary()
The synchronization of the AP with the control CPU is a SMP boot problem and has nothing to do with cpu_init(). Open code cpu_init_secondary() in start_secondary() and move wait_for_master_cpu() into the SMP boot code. No functional change. 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.981999763@linutronix.de
Diffstat (limited to 'arch/x86/kernel/nmi_selftest.c')
0 files changed, 0 insertions, 0 deletions