arm/arm64: KVM: Rename irq_state to irq_pending
authorChristoffer Dall <christoffer.dall@linaro.org>
Mon, 9 Jun 2014 10:27:18 +0000 (12:27 +0200)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:19:19 +0000 (17:19 +0200)
commitfa0603dfed451534fda7856d1301a6f81ae5de82
tree938710421e6cf33ce83bb85df5cff637222da05b
parent7bd2f48101c8f43cd36e9920c7315df8575b61a8
arm/arm64: KVM: Rename irq_state to irq_pending

The irq_state field on the distributor struct is ambiguous in its
meaning; the comment says it's the level of the input put, but that
doesn't make much sense for edge-triggered interrupts.  The code
actually uses this state variable to check if the interrupt is in the
pending state on the distributor so clarify the comment and rename the
actual variable and accessor methods.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
(cherry picked from commit 227844f53864077ccaefe01d0960fcccc03445ce)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
include/kvm/arm_vgic.h
virt/kvm/arm/vgic.c