KVM: switch to symbolic name for irq_states size
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jul 2012 10:55:53 +0000 (13:55 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 20 Jul 2012 19:12:16 +0000 (16:12 -0300)
commit93b6547e2219784b2df790353e083e0bdbebd2c2
treeb84f3d4fdc919f58687e54c65d5738e0c0be7a6e
parentc7a7062fa00db7dc66280a72cd9dad0f3595bc66
KVM: switch to symbolic name for irq_states size

Use PIC_NUM_PINS instead of hard-coded 16 for pic pins.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/irq.h
virt/kvm/irq_comm.c