We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8b7aba commit 4ba55e6Copy full SHA for 4ba55e6
arch/x86/kernel/smpboot.c
@@ -232,19 +232,20 @@ static void notrace start_secondary(void *unused)
232
*/
233
if (boot_cpu_has(X86_FEATURE_PCID))
234
__write_cr4(__read_cr4() | X86_CR4_PCIDE);
235
- cpu_init();
236
- x86_cpuinit.early_percpu_clock_init();
237
- preempt_disable();
238
- smp_callin();
239
-
240
- enable_start_cpu0 = 0;
241
242
#ifdef CONFIG_X86_32
243
/* switch away from the initial page table */
244
load_cr3(swapper_pg_dir);
245
__flush_tlb_all();
246
#endif
247
+ cpu_init();
+ x86_cpuinit.early_percpu_clock_init();
+ preempt_disable();
+ smp_callin();
+
+ enable_start_cpu0 = 0;
248
249
/* otherwise gcc will move up smp_processor_id before the cpu_init */
250
barrier();
251
/*
0 commit comments