diff options
| author | 2020-05-12 14:54:14 +0200 | |
|---|---|---|
| committer | 2020-06-11 15:14:42 +0200 | |
| commit | c9317202af70ee03d44fdd68abebdb640b8ab411 (patch) | |
| tree | 2b2662937525fc5c8161dab79ce0706f28018715 /arch/x86/mm/fault.c | |
| parent | x86/entry: Disable interrupts for native_load_gs_index() in C code (diff) | |
| download | linux-dev-c9317202af70ee03d44fdd68abebdb640b8ab411.tar.xz linux-dev-c9317202af70ee03d44fdd68abebdb640b8ab411.zip | |
x86/entry/64: Use native swapgs in asm_load_gs_index()
When PARAVIRT_XXL is in use, then load_gs_index() uses xen_load_gs_index()
and asm_load_gs_index() is unused.
It's therefore pointless to use the paravirtualized SWAPGS implementation
in asm_load_gs_index(). Switch it to a plain swapgs.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Acked-by: Juergen Gross <jgross@suse.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200512213809.583980272@linutronix.de
Diffstat (limited to 'arch/x86/mm/fault.c')
0 files changed, 0 insertions, 0 deletions
