Merge tag 'trace-v6.9-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux...
[sfrench/cifs-2.6.git] / include / kvm / arm_vgic.h
index 795b35656b54df715f23c507a4231ea014c746fa..47035946648eafd0e4e88e8f49e0143c4ef58605 100644 (file)
@@ -117,7 +117,7 @@ struct irq_ops {
 
 struct vgic_irq {
        raw_spinlock_t irq_lock;        /* Protects the content of the struct */
-       struct list_head lpi_list;      /* Used to link all LPIs together */
+       struct rcu_head rcu;
        struct list_head ap_list;
 
        struct kvm_vcpu *vcpu;          /* SGIs and PPIs: The VCPU
@@ -274,11 +274,10 @@ struct vgic_dist {
         */
        u64                     propbaser;
 
-       /* Protects the lpi_list and the count value below. */
+       /* Protects the lpi_list. */
        raw_spinlock_t          lpi_list_lock;
        struct xarray           lpi_xa;
-       struct list_head        lpi_list_head;
-       int                     lpi_list_count;
+       atomic_t                lpi_count;
 
        /* LPI translation cache */
        struct list_head        lpi_translation_cache;