aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/cpufeature.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-07-19 21:53:51 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2010-07-19 22:02:35 -0400
commit278bc5f6abd69dd868746dbd642266ac09a9c9c6 (patch)
treee6252e67388c47a036da504c29613f7fd5454cc2 /arch/x86/include/asm/cpufeature.h
parent5734f62b6601d88fd8ec720cb56b93fd3a030557 (diff)
x86, cpu: Clean up formatting in cpufeature.h, remove override
Clean up the formatting in cpufeature.h, and remove an unnecessary name override. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Cc: Suresh Siddha <suresh.b.siddha@intel.com> LKML-Reference: <tip-*@git.kernel.org>
Diffstat (limited to 'arch/x86/include/asm/cpufeature.h')
-rw-r--r--arch/x86/include/asm/cpufeature.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/x86/include/asm/cpufeature.h b/arch/x86/include/asm/cpufeature.h
index d5ea3e3a8a4..4be50ddd4d7 100644
--- a/arch/x86/include/asm/cpufeature.h
+++ b/arch/x86/include/asm/cpufeature.h
@@ -165,7 +165,7 @@
165#define X86_FEATURE_ARAT (7*32+ 1) /* Always Running APIC Timer */ 165#define X86_FEATURE_ARAT (7*32+ 1) /* Always Running APIC Timer */
166#define X86_FEATURE_CPB (7*32+ 2) /* AMD Core Performance Boost */ 166#define X86_FEATURE_CPB (7*32+ 2) /* AMD Core Performance Boost */
167#define X86_FEATURE_EPB (7*32+ 3) /* IA32_ENERGY_PERF_BIAS support */ 167#define X86_FEATURE_EPB (7*32+ 3) /* IA32_ENERGY_PERF_BIAS support */
168#define X86_FEATURE_XSAVEOPT (7*32+4) /* "xsaveopt" Optimized Xsave */ 168#define X86_FEATURE_XSAVEOPT (7*32+ 4) /* Optimized Xsave */
169 169
170/* Virtualization flags: Linux defined, word 8 */ 170/* Virtualization flags: Linux defined, word 8 */
171#define X86_FEATURE_TPR_SHADOW (8*32+ 0) /* Intel TPR Shadow */ 171#define X86_FEATURE_TPR_SHADOW (8*32+ 0) /* Intel TPR Shadow */
@@ -173,13 +173,13 @@
173#define X86_FEATURE_FLEXPRIORITY (8*32+ 2) /* Intel FlexPriority */ 173#define X86_FEATURE_FLEXPRIORITY (8*32+ 2) /* Intel FlexPriority */
174#define X86_FEATURE_EPT (8*32+ 3) /* Intel Extended Page Table */ 174#define X86_FEATURE_EPT (8*32+ 3) /* Intel Extended Page Table */
175#define X86_FEATURE_VPID (8*32+ 4) /* Intel Virtual Processor ID */ 175#define X86_FEATURE_VPID (8*32+ 4) /* Intel Virtual Processor ID */
176#define X86_FEATURE_NPT (8*32+5) /* AMD Nested Page Table support */ 176#define X86_FEATURE_NPT (8*32+ 5) /* AMD Nested Page Table support */
177#define X86_FEATURE_LBRV (8*32+6) /* AMD LBR Virtualization support */ 177#define X86_FEATURE_LBRV (8*32+ 6) /* AMD LBR Virtualization support */
178#define X86_FEATURE_SVML (8*32+7) /* "svm_lock" AMD SVM locking MSR */ 178#define X86_FEATURE_SVML (8*32+ 7) /* "svm_lock" AMD SVM locking MSR */
179#define X86_FEATURE_NRIPS (8*32+8) /* "nrip_save" AMD SVM next_rip save */ 179#define X86_FEATURE_NRIPS (8*32+ 8) /* "nrip_save" AMD SVM next_rip save */
180 180
181/* Intel-defined CPU features, CPUID level 0x00000007:0 (ebx), word 9 */ 181/* Intel-defined CPU features, CPUID level 0x00000007:0 (ebx), word 9 */
182#define X86_FEATURE_FSGSBASE (9*32+0) /* {RD/WR}{FS/GS}BASE instructions*/ 182#define X86_FEATURE_FSGSBASE (9*32+ 0) /* {RD/WR}{FS/GS}BASE instructions*/
183 183
184#if defined(__KERNEL__) && !defined(__ASSEMBLY__) 184#if defined(__KERNEL__) && !defined(__ASSEMBLY__)
185 185