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

This commit is contained in:
Linux Build Service Account 2016-10-09 21:17:51 -07:00 committed by Gerrit - the friendly Code Review server
commit 31131180a1

View file

@ -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);