From 1497e2ac97a565bb76fcf66255e340217ffdc389 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Tue, 13 May 2008 21:14:22 +0400 Subject: [PATCH] --- yaml --- r: 99378 b: refs/heads/master c: 05139d8fb445d9a3569071af1c5920fc46191b7b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/x86/kernel/head_64.S | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 3c11569146e8..898b8df4cef8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2237ce2057b82561f7ea27ed30153571f404112d +refs/heads/master: 05139d8fb445d9a3569071af1c5920fc46191b7b diff --git a/trunk/arch/x86/kernel/head_64.S b/trunk/arch/x86/kernel/head_64.S index 2f59ca8bd16c..7475b4c91f05 100644 --- a/trunk/arch/x86/kernel/head_64.S +++ b/trunk/arch/x86/kernel/head_64.S @@ -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. */