diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2012-09-21 12:43:07 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-09-21 12:45:25 -0700 |
commit | 85fdf05cc395f23384cb0adb22765cbaa9653b54 (patch) | |
tree | 737498a4cf91cd40f81473495352897882b91b9d /arch/x86/include/asm/processor-flags.h | |
parent | 8bd753be7a96443dd5111cb07ed5907a3787c978 (diff) | |
download | linux-stable-85fdf05cc395f23384cb0adb22765cbaa9653b54.tar.gz linux-stable-85fdf05cc395f23384cb0adb22765cbaa9653b54.tar.bz2 linux-stable-85fdf05cc395f23384cb0adb22765cbaa9653b54.zip |
x86, smap: Add CR4 bit for SMAP
Add X86_CR4_SMAP to <asm/processor-flags.h>.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/r/1348256595-29119-4-git-send-email-hpa@linux.intel.com
Diffstat (limited to 'arch/x86/include/asm/processor-flags.h')
-rw-r--r-- | arch/x86/include/asm/processor-flags.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/processor-flags.h b/arch/x86/include/asm/processor-flags.h index aea1d1d848c7..680cf09ed100 100644 --- a/arch/x86/include/asm/processor-flags.h +++ b/arch/x86/include/asm/processor-flags.h @@ -65,6 +65,7 @@ #define X86_CR4_PCIDE 0x00020000 /* enable PCID support */ #define X86_CR4_OSXSAVE 0x00040000 /* enable xsave and xrestore */ #define X86_CR4_SMEP 0x00100000 /* enable SMEP support */ +#define X86_CR4_SMAP 0x00200000 /* enable SMAP support */ /* * x86-64 Task Priority Register, CR8 |