KVM: use symbolic constant for nr interrupts
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 5 Sep 2012 17:00:52 +0000 (20:00 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 6 Sep 2012 15:37:44 +0000 (18:37 +0300)
commita50abc3b2b469ee80bc0f9ef5b6d457ef72659a9
treeb091f3302cd2bfd6452630655029f39b4d1ce6b1
parentb3356bf0dbb34980620f2f7def7d1b9a0d325225
KVM: use symbolic constant for nr interrupts

interrupt_bitmap is KVM_NR_INTERRUPTS bits in size,
so just use that instead of hard-coded constants
and math.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c