diff options
Diffstat (limited to 'arch/x86/kernel/cpu/scattered.c')
| -rw-r--r-- | arch/x86/kernel/cpu/scattered.c | 10 | 
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/x86/kernel/cpu/scattered.c b/arch/x86/kernel/cpu/scattered.c index c7f64e6f537..b6f794aa169 100644 --- a/arch/x86/kernel/cpu/scattered.c +++ b/arch/x86/kernel/cpu/scattered.c @@ -1,5 +1,5 @@  /* - *	Routines to indentify additional cpu features that are scattered in + *	Routines to identify additional cpu features that are scattered in   *	cpuid space.   */  #include <linux/cpu.h> @@ -24,14 +24,14 @@ enum cpuid_regs {  	CR_EBX  }; -void __cpuinit init_scattered_cpuid_features(struct cpuinfo_x86 *c) +void init_scattered_cpuid_features(struct cpuinfo_x86 *c)  {  	u32 max_level;  	u32 regs[4];  	const struct cpuid_bit *cb; -	static const struct cpuid_bit __cpuinitconst cpuid_bits[] = { -		{ X86_FEATURE_DTS,		CR_EAX, 0, 0x00000006, 0 }, +	static const struct cpuid_bit cpuid_bits[] = { +		{ X86_FEATURE_DTHERM,		CR_EAX, 0, 0x00000006, 0 },  		{ X86_FEATURE_IDA,		CR_EAX, 1, 0x00000006, 0 },  		{ X86_FEATURE_ARAT,		CR_EAX, 2, 0x00000006, 0 },  		{ X86_FEATURE_PLN,		CR_EAX, 4, 0x00000006, 0 }, @@ -39,7 +39,9 @@ void __cpuinit init_scattered_cpuid_features(struct cpuinfo_x86 *c)  		{ X86_FEATURE_APERFMPERF,	CR_ECX, 0, 0x00000006, 0 },  		{ X86_FEATURE_EPB,		CR_ECX, 3, 0x00000006, 0 },  		{ X86_FEATURE_XSAVEOPT,		CR_EAX,	0, 0x0000000d, 1 }, +		{ X86_FEATURE_HW_PSTATE,	CR_EDX, 7, 0x80000007, 0 },  		{ X86_FEATURE_CPB,		CR_EDX, 9, 0x80000007, 0 }, +		{ X86_FEATURE_PROC_FEEDBACK,	CR_EDX,11, 0x80000007, 0 },  		{ X86_FEATURE_NPT,		CR_EDX, 0, 0x8000000a, 0 },  		{ X86_FEATURE_LBRV,		CR_EDX, 1, 0x8000000a, 0 },  		{ X86_FEATURE_SVML,		CR_EDX, 2, 0x8000000a, 0 },  | 
