Fix serial interrupt's destination

Lowest Priority can't use with invalid cpu_mask, and the default value
of CPU_MASK_ALL may cover CPU which wasn't online.

From: "Yang, Sheng" <sheng.yang@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
Keir Fraser committed 2010-09-13 17:37:25 +01:00
1 parent ad8a2e7642
commit 4436e67fd1
1 file changed
+1 -1
+1 -1
View File
@@ -1015,7 +1015,7 @@ void __init smp_intr_init(void)
irq_vector[irq] = FIRST_HIPRIORITY_VECTOR + seridx + 1;
per_cpu(vector_irq, cpu)[FIRST_HIPRIORITY_VECTOR + seridx + 1] = irq;
irq_cfg[irq].vector = FIRST_HIPRIORITY_VECTOR + seridx + 1;
irq_cfg[irq].cpu_mask = (cpumask_t)CPU_MASK_ALL;
irq_cfg[irq].cpu_mask = cpu_online_map;
}
/* IPI for cleanuping vectors after irq move */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.