KVM: x86: use irqchip_kernel() to check for pic+ioapic
authorDavid Hildenbrand <david@redhat.com>
Fri, 7 Apr 2017 08:50:41 +0000 (10:50 +0200)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 12 Apr 2017 18:17:15 +0000 (20:17 +0200)
commit900ab14ca93dce3f95fdb2bd9c4b654d4d5f2571
tree0f0812c33af71e599e983310d67d696a1448b1fe
parentb5e7cf52e102d267646af0ea3dc10a4fd4e51b7d
KVM: x86: use irqchip_kernel() to check for pic+ioapic

Although the current check is not wrong, this check explicitly includes
the pic.

Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/irq_comm.c