]> git.baikalelectronics.ru Git - 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)
commit5fee015401193d405728dd74914de2a6e98ce584
tree07c52d1b6e482ae8e2843bc292977755790fac54
parent11ba03ac20b8b3c6e704f23c9c17204bab7f4032
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