diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-09-13 17:37:25 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-09-13 17:37:25 +0100 |
commit | 4436e67fd1f2e134af0a8dab2ecd6e9dbb64154e (patch) | |
tree | a8b7b987e23206cebc21b5269841845da6ea9a24 /xen/arch/x86/smpboot.c | |
parent | ad8a2e7642c9ca8a9bbafaf07920d48f21900fd5 (diff) | |
download | xen-4436e67fd1f2e134af0a8dab2ecd6e9dbb64154e.tar.gz xen-4436e67fd1f2e134af0a8dab2ecd6e9dbb64154e.tar.bz2 xen-4436e67fd1f2e134af0a8dab2ecd6e9dbb64154e.zip |
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>
Diffstat (limited to 'xen/arch/x86/smpboot.c')
-rw-r--r-- | xen/arch/x86/smpboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c index baae4f3584..365d70a4c4 100644 --- a/xen/arch/x86/smpboot.c +++ b/xen/arch/x86/smpboot.c @@ -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 */ |