diff options
-rw-r--r-- | arch/x86/kernel/cpu/feature_names.c | 2 | ||||
-rw-r--r-- | include/asm-x86/cpufeature.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/feature_names.c b/arch/x86/kernel/cpu/feature_names.c index e43ad4ad4cba..0bf4d37a0483 100644 --- a/arch/x86/kernel/cpu/feature_names.c +++ b/arch/x86/kernel/cpu/feature_names.c | |||
@@ -45,7 +45,7 @@ const char * const x86_cap_flags[NCAPINTS*32] = { | |||
45 | /* Intel-defined (#2) */ | 45 | /* Intel-defined (#2) */ |
46 | "pni", NULL, NULL, "monitor", "ds_cpl", "vmx", "smx", "est", | 46 | "pni", NULL, NULL, "monitor", "ds_cpl", "vmx", "smx", "est", |
47 | "tm2", "ssse3", "cid", NULL, NULL, "cx16", "xtpr", NULL, | 47 | "tm2", "ssse3", "cid", NULL, NULL, "cx16", "xtpr", NULL, |
48 | NULL, NULL, "dca", "sse4_1", "sse4_2", NULL, NULL, "popcnt", | 48 | NULL, NULL, "dca", "sse4_1", "sse4_2", "x2apic", NULL, "popcnt", |
49 | NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | 49 | NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, |
50 | 50 | ||
51 | /* VIA/Cyrix/Centaur-defined */ | 51 | /* VIA/Cyrix/Centaur-defined */ |
diff --git a/include/asm-x86/cpufeature.h b/include/asm-x86/cpufeature.h index 75ef959db329..5be9510ee012 100644 --- a/include/asm-x86/cpufeature.h +++ b/include/asm-x86/cpufeature.h | |||
@@ -90,6 +90,7 @@ | |||
90 | #define X86_FEATURE_CX16 (4*32+13) /* CMPXCHG16B */ | 90 | #define X86_FEATURE_CX16 (4*32+13) /* CMPXCHG16B */ |
91 | #define X86_FEATURE_XTPR (4*32+14) /* Send Task Priority Messages */ | 91 | #define X86_FEATURE_XTPR (4*32+14) /* Send Task Priority Messages */ |
92 | #define X86_FEATURE_DCA (4*32+18) /* Direct Cache Access */ | 92 | #define X86_FEATURE_DCA (4*32+18) /* Direct Cache Access */ |
93 | #define X86_FEATURE_X2APIC (4*32+21) /* x2APIC */ | ||
93 | 94 | ||
94 | /* VIA/Cyrix/Centaur-defined CPU features, CPUID level 0xC0000001, word 5 */ | 95 | /* VIA/Cyrix/Centaur-defined CPU features, CPUID level 0xC0000001, word 5 */ |
95 | #define X86_FEATURE_XSTORE (5*32+ 2) /* on-CPU RNG present (xstore insn) */ | 96 | #define X86_FEATURE_XSTORE (5*32+ 2) /* on-CPU RNG present (xstore insn) */ |
@@ -188,6 +189,7 @@ extern const char * const x86_power_flags[32]; | |||
188 | #define cpu_has_gbpages boot_cpu_has(X86_FEATURE_GBPAGES) | 189 | #define cpu_has_gbpages boot_cpu_has(X86_FEATURE_GBPAGES) |
189 | #define cpu_has_arch_perfmon boot_cpu_has(X86_FEATURE_ARCH_PERFMON) | 190 | #define cpu_has_arch_perfmon boot_cpu_has(X86_FEATURE_ARCH_PERFMON) |
190 | #define cpu_has_pat boot_cpu_has(X86_FEATURE_PAT) | 191 | #define cpu_has_pat boot_cpu_has(X86_FEATURE_PAT) |
192 | #define cpu_has_x2apic boot_cpu_has(X86_FEATURE_X2APIC) | ||
191 | 193 | ||
192 | #if defined(CONFIG_X86_INVLPG) || defined(CONFIG_X86_64) | 194 | #if defined(CONFIG_X86_INVLPG) || defined(CONFIG_X86_64) |
193 | # define cpu_has_invlpg 1 | 195 | # define cpu_has_invlpg 1 |