]> git.baikalelectronics.ru Git - kernel.git/commit
x86: fix typo in filter_cpuid_features()
authorYinghai Lu <yinghai@kernel.org>
Sun, 15 Feb 2009 07:59:18 +0000 (23:59 -0800)
committerIngo Molnar <mingo@elte.hu>
Sun, 15 Feb 2009 08:03:29 +0000 (09:03 +0100)
commit7b3f1c830c70f33724209d061708c5206c75da65
tree1ca60ed13539b7a795d987b44fe2bf12ca423685
parent1653b94e61d3fcfe3009bb502cfcbc8b76940790
x86: fix typo in filter_cpuid_features()

Impact: fix wrong disabling of cpu features

an amd system got this strange output:

 CPU: CPU feature monitor disabled due to lack of CPUID level 0x5

but in /proc/cpuinfo I have:

 cpuid level : 5

on intel system:

 CPU: CPU feature monitor disabled due to lack of CPUID level 0x5
 CPU: CPU feature dca disabled due to lack of CPUID level 0x9

but in /proc/cpuinfo i have:

 cpuid level     : 11

Tt turns out there is a typo, and we should use level member in df.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/common.c