projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2237ce2
)
x86: head_64.S cleanup - use straight move to CR4 register
author
Cyrill Gorcunov
<gorcunov@gmail.com>
Tue, 13 May 2008 17:14:22 +0000
(21:14 +0400)
committer
Thomas 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/head_64.S
b/arch/x86/kernel/head_64.S
index 2f59ca8bd16c24d9d90f79705c99afdeb280ea3c..7475b4c91f05efbea8cfda946ef419a5ce28eb3e 100644
(file)
--- a/
arch/x86/kernel/head_64.S
+++ b/
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. */