OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aa0203
)
amd64: get rid of useless RESTORE_TOP_OF_STACK in stub_execve()
author
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 12 Nov 2012 19:19:03 +0000
(14:19 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 3 Feb 2013 23:16:23 +0000
(18:16 -0500)
we are not going to return via SYSRET anyway.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/x86/kernel/entry_64.S
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/entry_64.S
b/arch/x86/kernel/entry_64.S
index
07a7a04
..
2f2f57a
100644
(file)
--- a/
arch/x86/kernel/entry_64.S
+++ b/
arch/x86/kernel/entry_64.S
@@
-886,7
+886,6
@@
ENTRY(stub_execve)
SAVE_REST
FIXUP_TOP_OF_STACK %r11
call sys_execve
- RESTORE_TOP_OF_STACK %r11
movq %rax,RAX(%rsp)
RESTORE_REST
jmp int_ret_from_sys_call