summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/compressed/head_64.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/boot/compressed/head_64.S')
-rw-r--r--arch/x86/boot/compressed/head_64.S5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/boot/compressed/head_64.S b/arch/x86/boot/compressed/head_64.S
index 1dcb794c5..bf4a10a57 100644
--- a/arch/x86/boot/compressed/head_64.S
+++ b/arch/x86/boot/compressed/head_64.S
@@ -398,11 +398,6 @@ SYM_CODE_START(startup_64)
call sev_enable
#endif
- /* Preserve only the CR4 bits that must be preserved, and clear the rest */
- movq %cr4, %rax
- andl $(X86_CR4_PAE | X86_CR4_MCE | X86_CR4_LA57), %eax
- movq %rax, %cr4
-
/*
* configure_5level_paging() updates the number of paging levels using
* a trampoline in 32-bit addressable memory if the current number does