diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-25 22:18:14 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-03-29 16:48:03 +0400 |
commit | 41ef0203214644ad003e8dac0147a3e5b6381034 (patch) | |
tree | 3e6337d5517b35b25e46e94b5236be7e569e3c23 | |
parent | dea1078e1a67f3d877ef553e3189df20fcca54e0 (diff) | |
download | linux-41ef0203214644ad003e8dac0147a3e5b6381034.tar.xz |
ia64: xen: Use irq accessor functions
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | arch/ia64/xen/irq_xen.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/ia64/xen/irq_xen.c b/arch/ia64/xen/irq_xen.c index a3fb7cf9ae1d..108bb858acf2 100644 --- a/arch/ia64/xen/irq_xen.c +++ b/arch/ia64/xen/irq_xen.c @@ -138,7 +138,6 @@ static void __xen_register_percpu_irq(unsigned int cpu, unsigned int vec, struct irqaction *action, int save) { - struct irq_desc *desc; int irq = 0; if (xen_slab_ready) { @@ -223,8 +222,7 @@ __xen_register_percpu_irq(unsigned int cpu, unsigned int vec, * mark the interrupt for migrations and trigger it * on cpu hotplug. */ - desc = irq_desc + irq; - desc->status |= IRQ_PER_CPU; + irq_set_status_flags(irq, IRQ_PER_CPU); } } |