x86/fsgsbase/64: Add intrinsics for FSGSBASE instructions
authorAndi Kleen <ak@linux.intel.com>
Wed, 8 May 2019 10:02:20 +0000 (03:02 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 22 Jun 2019 09:38:52 +0000 (11:38 +0200)
commit8b71340d702ec5d587443b38a852671c4fb6a723
tree0066de5ecf613ac0c4608339ad0528b76e806e58
parent1fb12b35e5ffe379d109b22cb3069830d0136d9a
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>
Reviewed-by: Andy Lutomirski <luto@kernel.org>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Cc: Ravi Shankar <ravi.v.shankar@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Link: https://lkml.kernel.org/r/1557309753-24073-6-git-send-email-chang.seok.bae@intel.com
arch/x86/include/asm/fsgsbase.h