diff options
author | Jan Beulich <jbeulich@suse.com> | 2011-11-03 17:27:38 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2011-11-03 17:27:38 +0100 |
commit | 792920245b119b7ff8decef93bfaa84b21e0e8bb (patch) | |
tree | 863853df497d14a445c6f40fadc49caba9f15e2f /xen/arch/x86/i8259.c | |
parent | bbff299b86323c76f0d8ec593e7ea98368e6ea77 (diff) | |
download | xen-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/i8259.c')
-rw-r--r-- | xen/arch/x86/i8259.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/i8259.c b/xen/arch/x86/i8259.c index f5d7ee2d43..3c7fca28f5 100644 --- a/xen/arch/x86/i8259.c +++ b/xen/arch/x86/i8259.c @@ -398,7 +398,7 @@ void __init init_IRQ(void) desc->handler = &i8259A_irq_type; per_cpu(vector_irq, cpu)[FIRST_LEGACY_VECTOR + irq] = irq; - cpumask_copy(&desc->arch.cpu_mask, cpumask_of(cpu)); + cpumask_copy(desc->arch.cpu_mask, cpumask_of(cpu)); desc->arch.vector = FIRST_LEGACY_VECTOR + irq; } |