diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-05-13 13:14:22 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-25 02:58:33 -0400 |
commit | 05139d8fb445d9a3569071af1c5920fc46191b7b (patch) | |
tree | fc8fa0397fd5e810cb933826a2726e6525afcef7 /arch/x86/kernel/head_64.S | |
parent | 2237ce2057b82561f7ea27ed30153571f404112d (diff) |
x86: head_64.S cleanup - use straight move to CR4 register
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/head_64.S')
-rw-r--r-- | arch/x86/kernel/head_64.S | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S index 2f59ca8bd16c..7475b4c91f05 100644 --- a/arch/x86/kernel/head_64.S +++ b/arch/x86/kernel/head_64.S | |||
@@ -155,9 +155,7 @@ ENTRY(secondary_startup_64) | |||
155 | */ | 155 | */ |
156 | 156 | ||
157 | /* Enable PAE mode and PGE */ | 157 | /* Enable PAE mode and PGE */ |
158 | xorq %rax, %rax | 158 | movl $(X86_CR4_PAE | X86_CR4_PGE), %eax |
159 | btsq $5, %rax | ||
160 | btsq $7, %rax | ||
161 | movq %rax, %cr4 | 159 | movq %rax, %cr4 |
162 | 160 | ||
163 | /* Setup early boot stage 4 level pagetables. */ | 161 | /* Setup early boot stage 4 level pagetables. */ |