aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/smpboot.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2011-11-03 17:27:38 +0100
committerJan Beulich <jbeulich@suse.com>2011-11-03 17:27:38 +0100
commit792920245b119b7ff8decef93bfaa84b21e0e8bb (patch)
tree863853df497d14a445c6f40fadc49caba9f15e2f /xen/arch/x86/smpboot.c
parentbbff299b86323c76f0d8ec593e7ea98368e6ea77 (diff)
downloadxen-792920245b119b7ff8decef93bfaa84b21e0e8bb.tar.gz
xen-792920245b119b7ff8decef93bfaa84b21e0e8bb.tar.bz2
xen-792920245b119b7ff8decef93bfaa84b21e0e8bb.zip
IRQ: allocate CPU masks dynamically
This includes delaying the initialization of dynamically created IRQs until their actual first use and some further elimination of uses of struct irq_cfg. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Diffstat (limited to 'xen/arch/x86/smpboot.c')
-rw-r--r--xen/arch/x86/smpboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c
index 24954684df..e1fd15e358 100644
--- a/xen/arch/x86/smpboot.c
+++ b/xen/arch/x86/smpboot.c
@@ -1011,7 +1011,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_to_desc(irq)->arch.vector = FIRST_HIPRIORITY_VECTOR + seridx + 1;
- cpumask_copy(&irq_to_desc(irq)->arch.cpu_mask, &cpu_online_map);
+ cpumask_copy(irq_to_desc(irq)->arch.cpu_mask, &cpu_online_map);
}
/* IPI for cleanuping vectors after irq move */