]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/x86/kvm/vmx.c
Replace NR_VMX_MSR with its definition
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jul 2014 12:21:57 +0000 (14:21 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jul 2014 12:21:57 +0000 (14:21 +0200)
commit03916db9348c079d8d214f971cc114bb51c6b869
treeac1511a292ad97f810f03b5ed45805a9e45d0fbc
parent0123be429fef40f067e5b1811576c3994229f59e
Replace NR_VMX_MSR with its definition

Using ARRAY_SIZE directly makes it easier to read the code.  While touching
the code, replace the division by a multiplication in the recently added
BUILD_BUG_ON.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c