x86/cpufeature: Cleanup get_cpu_cap()
CVE-2018-3639 (x86) Add an enum for the ->x86_capability array indices and cleanup get_cpu_cap() by killing some redundant local vars. Signed-off-by: Borislav Petkov <bp@suse.de> Link: http://lkml.kernel.org/r/1449481182-27541-3-git-send-email-bp@alien8.deSigned-off-by: Thomas Gleixner <tglx@linutronix.de> (backported from commit 39c06df4) [juergh: - Context adjustments. - Use CPUID_8000_0008_EBX enum in __do_cpuid_ent().] Signed-off-by: Juerg Haefliger <juergh@canonical.com>
Showing
Please register or sign in to comment