[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-65c2377486c0b68f149f7d8770499a86b15786b6@git.kernel.org>
Date: Wed, 25 Mar 2015 02:11:35 -0700
From: tip-bot for Denys Vlasenko <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: mingo@...nel.org, dvlasenk@...hat.com,
linux-kernel@...r.kernel.org, keescook@...omium.org,
ast@...mgrid.com, tglx@...utronix.de, hpa@...or.com,
luto@...nel.org, wad@...omium.org, bp@...e.de, oleg@...hat.com,
fweisbec@...il.com, luto@...capital.net, bp@...en8.de,
rostedt@...dmis.org, torvalds@...ux-foundation.org
Subject: [tip:x86/asm] x86/asm/entry/64:
Get rid of int_ret_from_sys_call_fixup
Commit-ID: 65c2377486c0b68f149f7d8770499a86b15786b6
Gitweb: http://git.kernel.org/tip/65c2377486c0b68f149f7d8770499a86b15786b6
Author: Denys Vlasenko <dvlasenk@...hat.com>
AuthorDate: Thu, 19 Mar 2015 18:17:49 +0100
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Tue, 24 Mar 2015 19:42:38 +0100
x86/asm/entry/64: Get rid of int_ret_from_sys_call_fixup
With the FIXUP_TOP_OF_STACK macro removed, this intermediate jump
is unnecessary.
Signed-off-by: Denys Vlasenko <dvlasenk@...hat.com>
Acked-by: Borislav Petkov <bp@...e.de>
Acked-by: Andy Lutomirski <luto@...nel.org>
Cc: Alexei Starovoitov <ast@...mgrid.com>
Cc: Andy Lutomirski <luto@...capital.net>
Cc: Borislav Petkov <bp@...en8.de>
Cc: Frederic Weisbecker <fweisbec@...il.com>
Cc: H. Peter Anvin <hpa@...or.com>
Cc: Kees Cook <keescook@...omium.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Oleg Nesterov <oleg@...hat.com>
Cc: Steven Rostedt <rostedt@...dmis.org>
Cc: Will Drewry <wad@...omium.org>
Link: http://lkml.kernel.org/r/1426785469-15125-5-git-send-email-dvlasenk@redhat.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
arch/x86/kernel/entry_64.S | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S
index 3f8daba..df04ee06 100644
--- a/arch/x86/kernel/entry_64.S
+++ b/arch/x86/kernel/entry_64.S
@@ -268,7 +268,7 @@ system_call_fastpath:
*/
ret_from_sys_call:
testl $_TIF_ALLWORK_MASK,TI_flags+THREAD_INFO(%rsp,SIZEOF_PTREGS)
- jnz int_ret_from_sys_call_fixup /* Go the the slow path */
+ jnz int_ret_from_sys_call /* Go the slow path */
LOCKDEP_SYS_EXIT
DISABLE_INTERRUPTS(CLBR_NONE)
@@ -293,9 +293,6 @@ ret_from_sys_call:
CFI_RESTORE_STATE
-int_ret_from_sys_call_fixup:
- jmp int_ret_from_sys_call
-
/* Do syscall entry tracing */
tracesys:
movq %rsp, %rdi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists