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

Commit 31131180 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "genirq: Avoid race between cpu hot plug and irq_desc() allocation paths"

parents 132aa756 4e38f843
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -78,6 +78,9 @@ void irq_migrate_all_off_this_cpu(void)
		bool affinity_broken;

		desc = irq_to_desc(irq);
		if (!desc)
			continue;

		raw_spin_lock(&desc->lock);
		affinity_broken = migrate_one_irq(desc);
		raw_spin_unlock(&desc->lock);