Commit 05139d8f authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Thomas Gleixner

x86: head_64.S cleanup - use straight move to CR4 register

Signed-off-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 2237ce20
...@@ -155,9 +155,7 @@ ENTRY(secondary_startup_64) ...@@ -155,9 +155,7 @@ ENTRY(secondary_startup_64)
*/ */
/* Enable PAE mode and PGE */ /* Enable PAE mode and PGE */
xorq %rax, %rax movl $(X86_CR4_PAE | X86_CR4_PGE), %eax
btsq $5, %rax
btsq $7, %rax
movq %rax, %cr4 movq %rax, %cr4
/* Setup early boot stage 4 level pagetables. */ /* Setup early boot stage 4 level pagetables. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment