]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/kvm/arm_vgic.h
KVM: arm/arm64: vgic: Add refcounting for IRQs
[linux.git] / include / kvm / arm_vgic.h
index 5142e2ab9f5e1d4fc7cd110ea73240686ae38132..450b4dab9a9f519e872bce8dab4341aca39454fb 100644 (file)
@@ -96,6 +96,7 @@ struct vgic_irq {
        bool active;                    /* not used for LPIs */
        bool enabled;
        bool hw;                        /* Tied to HW IRQ */
+       struct kref refcount;           /* Used for LPIs */
        u32 hwintid;                    /* HW INTID number */
        union {
                u8 targets;                     /* GICv2 target VCPUs mask */