projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5e7cf5
)
KVM: x86: use irqchip_kernel() to check for pic+ioapic
author
David Hildenbrand
<david@redhat.com>
Fri, 7 Apr 2017 08:50:41 +0000
(10:50 +0200)
committer
Radim Krčmář
<rkrcmar@redhat.com>
Wed, 12 Apr 2017 18:17:15 +0000
(20:17 +0200)
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
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/irq_comm.c
b/arch/x86/kvm/irq_comm.c
index d71f7a7fd5c9d375fcbcda850f3732ab1b57c145..4517a4c2ac3a1edd791dbf44c66b3b360aadc327 100644
(file)
--- a/
arch/x86/kvm/irq_comm.c
+++ b/
arch/x86/kvm/irq_comm.c
@@
-232,7
+232,7
@@
void kvm_free_irq_source_id(struct kvm *kvm, int irq_source_id)
goto unlock;
}
clear_bit(irq_source_id, &kvm->arch.irq_sources_bitmap);
- if (!i
oapic_in
_kernel(kvm))
+ if (!i
rqchip
_kernel(kvm))
goto unlock;
kvm_ioapic_clear_all(kvm->arch.vioapic, irq_source_id);