forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork1
Commit1df3738
x86/retpoline: Remove the esp/rsp thunk
It doesn't make sense to have an indirect call thunk with esp/rsp asretpoline code won't work correctly with the stack pointer register.Removing it will help compiler writers to catch error in case sucha thunk call is emitted incorrectly.Fixes:76b0438 ("x86/retpoline: Add initial retpoline support")Suggested-by: Jeff Law <law@redhat.com>Signed-off-by: Waiman Long <longman@redhat.com>Signed-off-by: Thomas Gleixner <tglx@linutronix.de>Acked-by: David Woodhouse <dwmw@amazon.co.uk>Cc: Tom Lendacky <thomas.lendacky@amd.com>Cc: Kees Cook <keescook@google.com>Cc: Andi Kleen <ak@linux.intel.com>Cc: Tim Chen <tim.c.chen@linux.intel.com>Cc: Peter Zijlstra <peterz@infradead.org>Cc: Linus Torvalds <torvalds@linux-foundation.org>Cc: Jiri Kosina <jikos@kernel.org>Cc: Andy Lutomirski <luto@amacapital.net>Cc: Dave Hansen <dave.hansen@intel.com>Cc: Josh Poimboeuf <jpoimboe@redhat.com>Cc: Arjan van de Ven <arjan@linux.intel.com>Cc: Greg Kroah-Hartman <gregkh@linux-foundation.org>Cc: Paul Turner <pjt@google.com>Link:https://lkml.kernel.org/r/1516658974-27852-1-git-send-email-longman@redhat.com1 parent3f7d875 commit1df3738
2 files changed
+0
-2
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
42 | 41 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
40 | 39 |
| |
41 | 40 |
| |
42 | 41 |
| |
|
0 commit comments
Comments
(0)