summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smpboot.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-06-28 12:46:30 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-06-28 12:46:30 -0700
commite5a0fc4e20d3b672489efc22b515c549bb77db42 (patch)
treee7ba6df513838f8e7f06444bbd70fba5b1d62924 /arch/x86/kernel/smpboot.c
parent9269d27e519ae9a89be8d288f59d1ec573b0c686 (diff)
parent1dcc917a0eed934c522d93bb05a9a7bb3c54f96c (diff)
downloadlinux-stable-e5a0fc4e20d3b672489efc22b515c549bb77db42.tar.gz
linux-stable-e5a0fc4e20d3b672489efc22b515c549bb77db42.tar.bz2
linux-stable-e5a0fc4e20d3b672489efc22b515c549bb77db42.zip
Merge tag 'x86-apic-2021-06-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 exception handling updates from Ingo Molnar: - Clean up & simplify AP exception handling setup. - Consolidate the disjoint IDT setup code living in idt_setup_traps() and idt_setup_ist_traps() into a single idt_setup_traps() initialization function and call it before cpu_init(). * tag 'x86-apic-2021-06-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/idt: Rework IDT setup for boot CPU x86/cpu: Init AP exception handling from cpu_init_secondary()
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r--arch/x86/kernel/smpboot.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index ec2d64aa2163..9320285a5e29 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -232,8 +232,7 @@ static void notrace start_secondary(void *unused)
load_cr3(swapper_pg_dir);
__flush_tlb_all();
#endif
- cpu_init_exception_handling();
- cpu_init();
+ cpu_init_secondary();
rcu_cpu_starting(raw_smp_processor_id());
x86_cpuinit.early_percpu_clock_init();
smp_callin();