summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-11-12 14:19:03 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-03 18:16:23 -0500
commitea93a6e2e73c5a1a8d1d60098f1ca5618fd5aca1 (patch)
tree21ff73c313080dac6da07f2a5f9c5dbf5d4d983f
parent0aa0203fb43f04714004b2c4ad33b858e240555d (diff)
downloadop-kernel-dev-ea93a6e2e73c5a1a8d1d60098f1ca5618fd5aca1.zip
op-kernel-dev-ea93a6e2e73c5a1a8d1d60098f1ca5618fd5aca1.tar.gz
amd64: get rid of useless RESTORE_TOP_OF_STACK in stub_execve()
we are not going to return via SYSRET anyway. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--arch/x86/kernel/entry_64.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S
index 07a7a04..2f2f57a 100644
--- 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
OpenPOWER on IntegriCloud