x86/entry/64: Use native swapgs in asm_load_gs_index()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 12 May 2020 12:54:14 +0000 (14:54 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:14:42 +0000 (15:14 +0200)
commitc9317202af70ee03d44fdd68abebdb640b8ab411
tree2b2662937525fc5c8161dab79ce0706f28018715
parent410367e321b5cbd4a616161142a7d162cf55885e
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
arch/x86/entry/entry_64.S