Skip to content

Commit

Permalink
ia64: xen: Use irq accessor functions
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Thomas Gleixner committed Mar 29, 2011
1 parent dea1078 commit 41ef020
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/ia64/xen/irq_xen.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 41ef020

Please sign in to comment.