]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita81ec0d6e0c5d0d92141e4393a7db9bd8315cfc6
tree0f0812c33af71e599e983310d67d696a1448b1fe
parent205e0372db439f1c18a9a45d3245625594ce516b
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