x86/asm: Merge load_gs_index()
authorBrian Gerst <brgerst@gmail.com>
Fri, 25 Mar 2022 15:39:53 +0000 (11:39 -0400)
committerBorislav Petkov <bp@suse.de>
Thu, 14 Apr 2022 12:15:54 +0000 (14:15 +0200)
commit203d8919a9eda5d1bc68ac3cd7637588334c9dc1
tree59b295ea0838b4ef36457fb3576ad23344eabe7a
parent3a24a60854d2ef19e0edcd11cdbbb4fabc655dde
x86/asm: Merge load_gs_index()

Merge the 32- and 64-bit implementations of load_gs_index().

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lore.kernel.org/r/20220325153953.162643-5-brgerst@gmail.com
arch/x86/include/asm/segment.h
arch/x86/include/asm/special_insns.h