ia64: xen: Use irq accessor functions

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner 2011-03-25 20:18:14 +01:00
parent dea1078e1a
commit 41ef020321

View file

@ -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);
}
}