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>
Fri, 19 Sep 2014 01:44:30 +0000 (18:44 -0700)
commit227844f53864077ccaefe01d0960fcccc03445ce
treeae1a5d1fd39e406948037278341ab6ecec405537
parenta875dafcf9b6b266c855e1f9b0aa060ef585d38a
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>
include/kvm/arm_vgic.h
virt/kvm/arm/vgic.c