[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-4.0-testing] Fix serial interrupt's destination



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1284396688 -3600
# Node ID 965d47d5d7c2e3d97ea1c70c9261ae76e2abf6ac
# Parent  208129cefcb30ae476af9a934008addf04e77cdc
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@xxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   22148:a254d1236c1a
xen-unstable date:        Mon Sep 13 17:37:25 2010 +0100
---
 xen/arch/x86/smpboot.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 208129cefcb3 -r 965d47d5d7c2 xen/arch/x86/smpboot.c
--- a/xen/arch/x86/smpboot.c    Mon Sep 13 17:50:14 2010 +0100
+++ b/xen/arch/x86/smpboot.c    Mon Sep 13 17:51:28 2010 +0100
@@ -1602,7 +1602,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].domain = (cpumask_t)CPU_MASK_ALL;
+               irq_cfg[irq].domain = cpu_online_map;
        }
 
        /* IPI for cleanuping vectors after irq move */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.