aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/cpufeature.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/asm-x86/cpufeature.h b/include/asm-x86/cpufeature.h
index 7ac4d93d20ed..8d45690bef5f 100644
--- a/include/asm-x86/cpufeature.h
+++ b/include/asm-x86/cpufeature.h
@@ -6,7 +6,7 @@
6 6
7#include <asm/required-features.h> 7#include <asm/required-features.h>
8 8
9#define NCAPINTS 8 /* N 32-bit words worth of info */ 9#define NCAPINTS 9 /* N 32-bit words worth of info */
10 10
11/* 11/*
12 * Note: If the comment begins with a quoted string, that string is used 12 * Note: If the comment begins with a quoted string, that string is used
@@ -150,6 +150,13 @@
150 */ 150 */
151#define X86_FEATURE_IDA (7*32+ 0) /* Intel Dynamic Acceleration */ 151#define X86_FEATURE_IDA (7*32+ 0) /* Intel Dynamic Acceleration */
152 152
153/* Virtualization flags: Linux defined */
154#define X86_FEATURE_TPR_SHADOW (8*32+ 0) /* Intel TPR Shadow */
155#define X86_FEATURE_VNMI (8*32+ 1) /* Intel Virtual NMI */
156#define X86_FEATURE_FLEXPRIORITY (8*32+ 2) /* Intel FlexPriority */
157#define X86_FEATURE_EPT (8*32+ 3) /* Intel Extended Page Table */
158#define X86_FEATURE_VPID (8*32+ 4) /* Intel Virtual Processor ID */
159
153#if defined(__KERNEL__) && !defined(__ASSEMBLY__) 160#if defined(__KERNEL__) && !defined(__ASSEMBLY__)
154 161
155#include <linux/bitops.h> 162#include <linux/bitops.h>