]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
x86/fsgsbase/64: Add intrinsics for FSGSBASE instructions
authorAndi Kleen <ak@linux.intel.com>
Thu, 28 May 2020 20:13:49 +0000 (16:13 -0400)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 18 Jun 2020 13:47:00 +0000 (15:47 +0200)
commitb15378ca50810c1350086cafad3fe19979262a83
tree07c52d1b6e482ae8e2843bc292977755790fac54
parentdd649bd0b3aa012740059b1ba31ecad28a408f7f
x86/fsgsbase/64: Add intrinsics for FSGSBASE instructions

[ luto: Rename the variables from FS and GS to FSBASE and GSBASE and
  make <asm/fsgsbase.h> safe to include on 32-bit kernels. ]

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Andy Lutomirski <luto@kernel.org>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Link: https://lkml.kernel.org/r/1557309753-24073-6-git-send-email-chang.seok.bae@intel.com
Link: https://lkml.kernel.org/r/20200528201402.1708239-4-sashal@kernel.org
arch/x86/include/asm/fsgsbase.h