Commit 41ef0203 authored by Thomas Gleixner's avatar Thomas Gleixner

ia64: xen: Use irq accessor functions

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent dea1078e
...@@ -138,7 +138,6 @@ static void ...@@ -138,7 +138,6 @@ static void
__xen_register_percpu_irq(unsigned int cpu, unsigned int vec, __xen_register_percpu_irq(unsigned int cpu, unsigned int vec,
struct irqaction *action, int save) struct irqaction *action, int save)
{ {
struct irq_desc *desc;
int irq = 0; int irq = 0;
if (xen_slab_ready) { if (xen_slab_ready) {
...@@ -223,8 +222,7 @@ __xen_register_percpu_irq(unsigned int cpu, unsigned int vec, ...@@ -223,8 +222,7 @@ __xen_register_percpu_irq(unsigned int cpu, unsigned int vec,
* mark the interrupt for migrations and trigger it * mark the interrupt for migrations and trigger it
* on cpu hotplug. * on cpu hotplug.
*/ */
desc = irq_desc + irq; irq_set_status_flags(irq, IRQ_PER_CPU);
desc->status |= IRQ_PER_CPU;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment