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 021c917 commit 4fb5f58Copy full SHA for 4fb5f58
arch/x86/kernel/smpboot.c
@@ -221,6 +221,11 @@ static void notrace start_secondary(void *unused)
221
#ifdef CONFIG_X86_32
222
/* switch away from the initial page table */
223
load_cr3(swapper_pg_dir);
224
+ /*
225
+ * Initialize the CR4 shadow before doing anything that could
226
+ * try to read it.
227
+ */
228
+ cr4_init_shadow();
229
__flush_tlb_all();
230
#endif
231
load_current_idt();
0 commit comments