summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorFenghua Yu2011-05-17 21:33:26 +0200
committerH. Peter Anvin2011-05-17 22:36:29 +0200
commit2494b030ba9334c7dd7df9b9f7abe4eacc950ec5 (patch)
tree1d772a197843f9f90a040566cfe6313add367c72 /arch/x86/include/asm
parentLinux 2.6.39-rc7 (diff)
downloadkernel-qcow2-linux-2494b030ba9334c7dd7df9b9f7abe4eacc950ec5.tar.gz
kernel-qcow2-linux-2494b030ba9334c7dd7df9b9f7abe4eacc950ec5.tar.xz
kernel-qcow2-linux-2494b030ba9334c7dd7df9b9f7abe4eacc950ec5.zip
x86, cpufeature: Fix cpuid leaf 7 feature detection
CPUID leaf 7, subleaf 0 returns the maximum subleaf in EAX, not the number of subleaves. Since so far only subleaf 0 is defined (and only the EBX bitfield) we do not need to qualify the test. Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Link: http://lkml.kernel.org/r/1305660806-17519-1-git-send-email-fenghua.yu@intel.com Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Cc: <stable@kernel.org> 2.6.36..39
Diffstat (limited to 'arch/x86/include/asm')
0 files changed, 0 insertions, 0 deletions