]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: ARM: VGIC: Optimize the vGIC vgic_update_irq_pending function.
authorwanghaibin <wanghaibin.wang@huawei.com>
Mon, 17 Nov 2014 09:27:37 +0000 (09:27 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 25 Nov 2014 13:57:26 +0000 (13:57 +0000)
commit26b5f2b242291183ee1ed3c278dc5eb522d2fc29
treec00ec04a8e2c218aa2f38304cdc0b0ba9ef13246
parentc9df52c4fdd3c8a3181e49bd8d8b941c9eb5b204
KVM: ARM: VGIC: Optimize the vGIC vgic_update_irq_pending function.

When vgic_update_irq_pending with level-sensitive false, it is need to
deactivates an interrupt, and, it can go to out directly.
Here return a false value, because it will be not need to kick.

Signed-off-by: wanghaibin <wanghaibin.wang@huawei.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic.c