projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/arch/x86/kernel/entry_64.S
b/arch/x86/kernel/entry_64.S
index 07a7a04529bc5d7849ffc21b79819edd7b23ffd9..2f2f57ac3748be5f26e2b924fb9b23e6a5220c20 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