x86, boot: simplify setting of the PAE bit
PATCH 1/1 x86, boot: simplify setting of the PAE bit
A single 'movl' is shorter than the 'xorl'-'orl' pair. No behaviour change.
Signed-off-by Alexander Potashev <[email protected]>
--- arch/x86/boot/compressed/head_64.S | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
arch/x86/boot/compressed/head_64.S +1 -2
@@ -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 /*
Signature · 1 line
1.6.5.1