x86/cpufeature: Cleanup get_cpu_cap()
authorBorislav Petkov <bp@suse.de>
Mon, 7 Dec 2015 09:39:40 +0000 (10:39 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 19 Dec 2015 10:49:54 +0000 (11:49 +0100)
commit39c06df4dc10a41de5fe706f4378ee5f09beba73
tree65bcafe71aa5ddbaf102b0ee1fe54fc6ccef5e3c
parent2ccd71f1b278d450a6f8c8c737c7fe237ca06dc6
x86/cpufeature: Cleanup get_cpu_cap()

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.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/cpufeature.h
arch/x86/kernel/cpu/centaur.c
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/transmeta.c