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:
15a601e
)
x86: relocate_kernel_32.S - clear register in more elegant way
author
gorcunov@gmail.com
<gorcunov@gmail.com>
Sat, 22 Mar 2008 21:00:06 +0000
(
00:00
+0300)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 17 Apr 2008 15:41:29 +0000
(17:41 +0200)
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/relocate_kernel_32.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/relocate_kernel_32.S
b/arch/x86/kernel/relocate_kernel_32.S
index ec4e6a0e0c2e3c8016e6a4ad104dd1dd1dcd2bbf..fbc4fad231379bc7ec500514daf29cd743040253 100644
(file)
--- a/
arch/x86/kernel/relocate_kernel_32.S
+++ b/
arch/x86/kernel/relocate_kernel_32.S
@@
-185,8
+185,7
@@
identity_mapped:
/* Set cr4 to a known state:
* Setting everything to zero seems safe.
*/
- movl %cr4, %eax
- andl $0, %eax
+ xorl %eax, %eax
movl %eax, %cr4
jmp 1f