Message ID | 1459481291-10136-1-git-send-email-majun258@huawei.com |
---|---|
State | New |
Headers | show |
diff --git a/kernel/irq/cpuhotplug.c b/kernel/irq/cpuhotplug.c index 011f8c4..80d54a5 100644 --- a/kernel/irq/cpuhotplug.c +++ b/kernel/irq/cpuhotplug.c @@ -30,6 +30,8 @@ static bool migrate_one_irq(struct irq_desc *desc) return false; if (cpumask_any_and(affinity, cpu_online_mask) >= nr_cpu_ids) { + if (irq_settings_has_no_balance_set(desc)) + irqd_clear(d, IRQD_NO_BALANCING); affinity = cpu_online_mask; ret = true; }