Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -155,9 +155,7 @@ ENTRY(secondary_startup_64)
	 */

	/* Enable PAE mode and PGE */
	xorq	%rax, %rax
	btsq	$5, %rax
	btsq	$7, %rax
	movl	$(X86_CR4_PAE | X86_CR4_PGE), %eax
	movq	%rax, %cr4

	/* Setup early boot stage 4 level pagetables. */