diff options
-rw-r--r-- | arch/x86/kernel/relocate_kernel_32.S | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/relocate_kernel_32.S b/arch/x86/kernel/relocate_kernel_32.S index ec4e6a0e0c2e..fbc4fad23137 100644 --- a/arch/x86/kernel/relocate_kernel_32.S +++ b/arch/x86/kernel/relocate_kernel_32.S | |||
@@ -185,8 +185,7 @@ identity_mapped: | |||
185 | /* Set cr4 to a known state: | 185 | /* Set cr4 to a known state: |
186 | * Setting everything to zero seems safe. | 186 | * Setting everything to zero seems safe. |
187 | */ | 187 | */ |
188 | movl %cr4, %eax | 188 | xorl %eax, %eax |
189 | andl $0, %eax | ||
190 | movl %eax, %cr4 | 189 | movl %eax, %cr4 |
191 | 190 | ||
192 | jmp 1f | 191 | jmp 1f |