KVM: x86: remove magic number with enum cpuid_leafs
authorHuaitong Han <huaitong.han@intel.com>
Tue, 22 Mar 2016 08:51:14 +0000 (16:51 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Mar 2016 15:21:04 +0000 (16:21 +0100)
commite0b18ef7189075676ac432954d7920eaa30d8e3e
treee8c377ca45efe9eb2c863b098d2b7291df2d3efb
parentf13577e8aa863cf3b4f17541bc74f8e9b0b40c90
KVM: x86: remove magic number with enum cpuid_leafs

This patch removes magic number with enum cpuid_leafs.

Signed-off-by: Huaitong Han <huaitong.han@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/cpuid.c