mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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:
1 parent
ad8a2e7642
commit
4436e67fd1
1 file changed
+1
-1
@@ -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 */
|
||||
|
||||