Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7b807ce authored by Ian Campbell's avatar Ian Campbell Committed by Konrad Rzeszutek Wilk
Browse files

xen: events: correct locking in xen_irq_from_pirq



One of those spin_lock() calls should be an unlock...

Signed-off-by: default avatarIan Campbell <ian.campbell@citrix.com>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent 7bee9768
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -752,7 +752,7 @@ int xen_irq_from_pirq(unsigned pirq)
	}
	irq = -1;
out:
	spin_lock(&irq_mapping_update_lock);
	spin_unlock(&irq_mapping_update_lock);

	return irq;
}