projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a71ffdd
)
x86/asm/entry/64: Get rid of int_ret_from_sys_call_fixup
author
Denys Vlasenko
<
[email protected]
>
Thu, 19 Mar 2015 17:17:49 +0000
(18:17 +0100)
committer
Ingo Molnar
<
[email protected]
>
Tue, 24 Mar 2015 18:42:38 +0000
(19:42 +0100)
With the FIXUP_TOP_OF_STACK macro removed, this intermediate jump
is unnecessary.
Signed-off-by: Denys Vlasenko <
[email protected]
>
Acked-by: Borislav Petkov <
[email protected]
>
Acked-by: Andy Lutomirski <
[email protected]
>
Cc: Alexei Starovoitov <
[email protected]
>
Cc: Andy Lutomirski <
[email protected]
>
Cc: Borislav Petkov <
[email protected]
>
Cc: Frederic Weisbecker <
[email protected]
>
Cc: H. Peter Anvin <
[email protected]
>
Cc: Kees Cook <
[email protected]
>
Cc: Linus Torvalds <
[email protected]
>
Cc: Oleg Nesterov <
[email protected]
>
Cc: Steven Rostedt <
[email protected]
>
Cc: Will Drewry <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
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 3f8daba28eb054a09f23d846f6f314f543226d75..df04ee069b1ff6737e4f183d15a39da692f09fc2 100644
(file)
--- 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