x86/cpufeature change for v3.7
Linus,
Please pull the latest x86-cpufeature-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-cpufeature-for-linus
HEAD: 05194cfc547528a01d655262c49da3b1311c4b11 x86, cpufeature: Add feature bit for SMAP
Prepare for SMAP (Supervisor Mode Access Prevention) support on x86.
Thanks,
Ingo
------------------>
H. Peter Anvin (1):
x86, cpufeature: Add feature bit for SMAP
arch/x86/include/asm/cpufeature.h | 1 + 1 file changed, 1 insertion(+)
arch/x86/include/asm/cpufeature.h +1 -0
@@ -209,6 +209,7 @@#define X86_FEATURE_RTM (9*32+11)/* Restricted Transactional Memory */ #define X86_FEATURE_RDSEED (9*32+18)/* The RDSEED instruction */ #define X86_FEATURE_ADX (9*32+19)/* The ADCX and ADOX instructions */ +#define X86_FEATURE_SMAP (9*32+20)/* Supervisor Mode Access Prevention */ #if defined(__KERNEL__) && !defined(__ASSEMBLY__)