diff options
author | Andy Lutomirski <[email protected]> | 2017-11-02 00:59:00 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-11-02 11:04:38 +0100 |
commit | 8a055d7f411d41755ce30db5bb65b154777c4b78 (patch) | |
tree | e4ccf57a6d2d08d18c96c7a5703be93c5cea09d4 /lib/memory-notifier-error-inject.c | |
parent | 26c4ef9c49d8a0341f6d97ce2cfdd55d1236ed29 (diff) |
x86/entry/64: Move SWAPGS into the common IRET-to-usermode path
All of the code paths that ended up doing IRET to usermode did
SWAPGS immediately beforehand. Move the SWAPGS into the common
code.
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/27fd6f45b7cd640de38fb9066fd0349bcd11f8e1.1509609304.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions