]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: head_64.S cleanup - use straight move to CR4 register
authorCyrill Gorcunov <gorcunov@gmail.com>
Tue, 13 May 2008 17:14:22 +0000 (21:14 +0400)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 25 May 2008 06:58:33 +0000 (08:58 +0200)
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/head_64.S

index 2f59ca8bd16c24d9d90f79705c99afdeb280ea3c..7475b4c91f05efbea8cfda946ef419a5ce28eb3e 100644 (file)
@@ -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. */