x86/xsaves: Define macros for xsave instructions
authorFenghua Yu <fenghua.yu@intel.com>
Thu, 29 May 2014 18:12:34 +0000 (11:12 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 29 May 2014 21:31:16 +0000 (14:31 -0700)
commit200b08a970b2ae764b670a326088ab8bc0a989cc
tree52644b90b58dba06eaffeff2651326c84eee1ec6
parent0b29643a58439dc9a8b0c0cacad0e7cb608c8199
x86/xsaves: Define macros for xsave instructions

Define macros for xsave, xsaveopt, xsaves, xrstor, and xrstors inline
instructions. The instructions will be used for saving and restoring xstate.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Link: http://lkml.kernel.org/r/1401387164-43416-7-git-send-email-fenghua.yu@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/xsave.h