diff options
author | Borislav Petkov <bp@suse.de> | 2015-12-07 12:39:40 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-12-19 13:49:54 +0300 |
commit | 39c06df4dc10a41de5fe706f4378ee5f09beba73 (patch) | |
tree | 65bcafe71aa5ddbaf102b0ee1fe54fc6ccef5e3c /arch/x86/mm/setup_nx.c | |
parent | 2ccd71f1b278d450a6f8c8c737c7fe237ca06dc6 (diff) | |
download | linux-39c06df4dc10a41de5fe706f4378ee5f09beba73.tar.xz |
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>
Diffstat (limited to 'arch/x86/mm/setup_nx.c')
0 files changed, 0 insertions, 0 deletions