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

Commit 4868402d authored by Alexander Potashev's avatar Alexander Potashev Committed by Ingo Molnar
Browse files

x86, boot: Simplify setting of the PAE bit



A single 'movl' is shorter than the 'xorl'-'orl' pair.
No change in behaviour.

Signed-off-by: default avatarAlexander Potashev <aspotashev@gmail.com>
LKML-Reference: <1256341043-4928-1-git-send-email-aspotashev@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent b1258ac2
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -107,8 +107,7 @@ ENTRY(startup_32)
	lgdt	gdt(%ebp)

	/* Enable PAE mode */
	xorl	%eax, %eax
	orl	$(X86_CR4_PAE), %eax
	movl	$(X86_CR4_PAE), %eax
	movl	%eax, %cr4

 /*