aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/smpboot.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2011-10-19 12:50:54 +0200
committerJan Beulich <jbeulich@suse.com>2011-10-19 12:50:54 +0200
commit047ea00c0fa2325bfbe1baeb1e74b90fb3187ddd (patch)
tree31f62f214620e26f8a7cf2078387e60cbd7a5e37 /xen/arch/x86/smpboot.c
parentde4aa5b6b1e5430ba7460087b2c7e7359cd21a69 (diff)
downloadxen-047ea00c0fa2325bfbe1baeb1e74b90fb3187ddd.tar.gz
xen-047ea00c0fa2325bfbe1baeb1e74b90fb3187ddd.tar.bz2
xen-047ea00c0fa2325bfbe1baeb1e74b90fb3187ddd.zip
fold struct irq_cfg into struct irq_desc
struct irq_cfg really has become an architecture extension to struct irq_desc, and hence it should be treated as such (rather than as IRQ chip specific data, which it was meant to be originally). For a first step, only convert a subset of the uses; subsequent patches (partly to be sent later) will aim at fully eliminating the use of the old structure type. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Diffstat (limited to 'xen/arch/x86/smpboot.c')
-rw-r--r--xen/arch/x86/smpboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c
index f3a479d097..5feb8a3d25 100644
--- a/xen/arch/x86/smpboot.c
+++ b/xen/arch/x86/smpboot.c
@@ -1010,8 +1010,8 @@ void __init smp_intr_init(void)
continue;
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 = cpu_online_map;
+ irq_to_desc(irq)->arch.vector = FIRST_HIPRIORITY_VECTOR + seridx + 1;
+ cpumask_copy(&irq_to_desc(irq)->arch.cpu_mask, &cpu_online_map);
}
/* IPI for cleanuping vectors after irq move */