arm/arm64: KVM: Rename irq_active to irq_queued
authorChristoffer Dall <christoffer.dall@linaro.org>
Mon, 9 Jun 2014 10:55:13 +0000 (12:55 +0200)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:19:19 +0000 (17:19 +0200)
commit25b3fb8068b572c2b9f549b17f513092309aa610
tree5caae083610d43cf0a34d0473365b397b681e7e6
parentfa0603dfed451534fda7856d1301a6f81ae5de82
arm/arm64: KVM: Rename irq_active to irq_queued

We have a special bitmap on the distributor struct to keep track of when
level-triggered interrupts are queued on the list registers.  This was
named irq_active, which is confusing, because the active state of an
interrupt as per the GIC spec is a different thing, not specifically
related to edge-triggered/level-triggered configurations but rather
indicates an interrupt which has been ack'ed but not yet eoi'ed.

Rename the bitmap and the corresponding accessor functions to irq_queued
to clarify what this is actually used for.

Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
(cherry picked from commit dbf20f9d8105cca531614c8bff9a74351e8e67e7)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
include/kvm/arm_vgic.h
virt/kvm/arm/vgic.c