From: Al Viro Date: Mon, 12 Nov 2012 19:19:03 +0000 (-0500) Subject: amd64: get rid of useless RESTORE_TOP_OF_STACK in stub_execve() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ea93a6e2e73c5a1a8d1d60098f1ca5618fd5aca1;p=linux.git 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 --- diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S index 07a7a04529bc5..2f2f57ac3748b 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