[PATCH 2/8] x86/cpufeature: Use enum cpuid_leafs instead of magic numbers

2016-01-25 Thread Borislav Petkov
From: Huaitong Han Most of magic numbers of x86_capability have been converted to enum cpuid_leafs, and this patch does update the remaining part. Signed-off-by: Huaitong Han Cc: Alexander Kuleshov Cc: Andrew Morton Cc: Andy Lutomirski Cc: Boris Ostrovsky Cc: Brian Gerst Cc: David Vrabel

[PATCH 2/8] x86/cpufeature: Use enum cpuid_leafs instead of magic numbers

2016-01-25 Thread Borislav Petkov
From: Huaitong Han Most of magic numbers of x86_capability have been converted to enum cpuid_leafs, and this patch does update the remaining part. Signed-off-by: Huaitong Han Cc: Alexander Kuleshov Cc: Andrew Morton