aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/cpu.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-09-28 15:35:01 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-09-28 16:33:14 -0700
commitd900329e20f4476db6461752accebcf7935a8055 (patch)
tree124a958a91f2b7652fd379cdc9c1d0a067b254d1 /arch/x86/kernel/cpu/cpu.h
parent0f44fbd297e1cda5d9ecc9f5321a86fe647c7d4a (diff)
downloadkernel_samsung_smdk4412-d900329e20f4476db6461752accebcf7935a8055.zip
kernel_samsung_smdk4412-d900329e20f4476db6461752accebcf7935a8055.tar.gz
kernel_samsung_smdk4412-d900329e20f4476db6461752accebcf7935a8055.tar.bz2
x86, cpu: After uncapping CPUID, re-run CPU feature detection
After uncapping the CPUID level, we need to also re-run the CPU feature detection code. This resolves kernel bugzilla 16322. Reported-by: boris64 <bugzilla.kernel.org@boris64.net> Cc: <stable@kernel.org> v2.6.29..2.6.35 LKML-Reference: <tip-@git.kernel.org> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/kernel/cpu/cpu.h')
-rw-r--r--arch/x86/kernel/cpu/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/cpu.h b/arch/x86/kernel/cpu/cpu.h
index 3624e8a..f668bb1 100644
--- a/arch/x86/kernel/cpu/cpu.h
+++ b/arch/x86/kernel/cpu/cpu.h
@@ -33,5 +33,6 @@ extern const struct cpu_dev *const __x86_cpu_dev_start[],
*const __x86_cpu_dev_end[];
extern void cpu_detect_cache_sizes(struct cpuinfo_x86 *c);
+extern void get_cpu_cap(struct cpuinfo_x86 *c);
#endif