diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2010-09-20 18:01:46 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-09-20 18:03:28 -0700 |
commit | c2b9ff24a0df649d4d40947878b5b5ac39c7299e (patch) | |
tree | 6715c6d7b943a70f463e996decdbf042c2d174ba /arch/x86/kernel/cpu/common.c | |
parent | aeb9c7d618264dcf6eea39142fefee096c3b09e2 (diff) | |
download | op-kernel-dev-c2b9ff24a0df649d4d40947878b5b5ac39c7299e.zip op-kernel-dev-c2b9ff24a0df649d4d40947878b5b5ac39c7299e.tar.gz |
x86, cpu: Re-run get_cpu_cap() after adjusting the CPUID level
At least on Intel, adjusting the max CPUID level can expose new CPUID
features, so we need to re-run get_cpu_cap() after changing the CPUID
level.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r-- | arch/x86/kernel/cpu/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index 490dac6..f2f9ac7 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c @@ -545,7 +545,7 @@ void __cpuinit cpu_detect(struct cpuinfo_x86 *c) } } -static void __cpuinit get_cpu_cap(struct cpuinfo_x86 *c) +void __cpuinit get_cpu_cap(struct cpuinfo_x86 *c) { u32 tfms, xlvl; u32 ebx; |