diff options
author | Christoffer Dall <christoffer.dall@linaro.org> | 2014-06-09 06:55:13 -0400 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2014-09-18 21:44:30 -0400 |
commit | dbf20f9d8105cca531614c8bff9a74351e8e67e7 (patch) | |
tree | 1d86e929fa155683d665ba5f8217e54da2845a05 /include/kvm | |
parent | 227844f53864077ccaefe01d0960fcccc03445ce (diff) |
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>
Diffstat (limited to 'include/kvm')
-rw-r--r-- | include/kvm/arm_vgic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h index 388d442eecb5..7d8e61fa9928 100644 --- a/include/kvm/arm_vgic.h +++ b/include/kvm/arm_vgic.h | |||
@@ -143,8 +143,8 @@ struct vgic_dist { | |||
143 | /* Interrupt state is pending on the distributor */ | 143 | /* Interrupt state is pending on the distributor */ |
144 | struct vgic_bitmap irq_pending; | 144 | struct vgic_bitmap irq_pending; |
145 | 145 | ||
146 | /* Level-triggered interrupt in progress */ | 146 | /* Level-triggered interrupt queued on VCPU interface */ |
147 | struct vgic_bitmap irq_active; | 147 | struct vgic_bitmap irq_queued; |
148 | 148 | ||
149 | /* Interrupt priority. Not used yet. */ | 149 | /* Interrupt priority. Not used yet. */ |
150 | struct vgic_bytemap irq_priority; | 150 | struct vgic_bytemap irq_priority; |