KVM: arm/arm64: vgic: Add missing irq_lock to vgic_mmio_read_pending
[linux-2.6-block.git] / virt / kvm / arm / vgic / vgic.h
index 12c37b89f7a38212c5eec4a115b9e2bb20d28fdc..5b11859a1a1e67ccd168526e505e8e182c977012 100644 (file)
@@ -96,6 +96,7 @@
 /* we only support 64 kB translation table page size */
 #define KVM_ITS_L1E_ADDR_MASK          GENMASK_ULL(51, 16)
 
+/* Requires the irq_lock to be held by the caller. */
 static inline bool irq_is_pending(struct vgic_irq *irq)
 {
        if (irq->config == VGIC_CONFIG_EDGE)