diff options
author | Lai Jiangshan <[email protected]> | 2022-05-03 11:21:07 +0800 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2022-05-03 12:26:08 +0200 |
commit | c89191ce67efa4e5353db6a67f7287c28e673740 (patch) | |
tree | 92cbd5285a14625245da988335910c09f974db39 /lib/mpi/mpi-sub-ui.c | |
parent | 64cbd0acb58203fb769ed2f4eab526d43e243847 (diff) |
x86/entry: Convert SWAPGS to swapgs and remove the definition of SWAPGS
XENPV doesn't use swapgs_restore_regs_and_return_to_usermode(),
error_entry() and the code between entry_SYSENTER_compat() and
entry_SYSENTER_compat_after_hwframe.
Change the PV-compatible SWAPGS to the ASM instruction swapgs in these
places.
Also remove the definition of SWAPGS since no more users.
Signed-off-by: Lai Jiangshan <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Juergen Gross <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions