x86/cpu: Probe CPUID leaf 6 even when cpuid_level == 6
authorAndy Lutomirski <luto@kernel.org>
Thu, 15 Dec 2016 18:14:42 +0000 (10:14 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 19 Dec 2016 10:50:24 +0000 (11:50 +0100)
commit3df8d9208569ef0b2313e516566222d745f3b94b
treec7d93482c59f3106bdaec5e7b9cbec8e95040cab
parent7ebb916782949621ff6819acf373a06902df7679
x86/cpu: Probe CPUID leaf 6 even when cpuid_level == 6

A typo (or mis-merge?) resulted in leaf 6 only being probed if
cpuid_level >= 7.

Fixes: 2ccd71f1b278 ("x86/cpufeature: Move some of the scattered feature bits to x86_capability")
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Acked-by: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Link: http://lkml.kernel.org/r/6ea30c0e9daec21e488b54761881a6dfcf3e04d0.1481825597.git.luto@kernel.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/common.c