diff options
author | Jiri Slaby <jslaby@suse.cz> | 2010-11-22 04:41:19 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2010-12-28 17:19:20 -0500 |
commit | 409e590572d980c314e989e94176bcb060130fae (patch) | |
tree | 14210ce6594698f698aa80b70d1ffea376a5ffef | |
parent | e21763dbce76d3a07ead438f8811b3e4bce0825b (diff) |
[IA64] irq_ia64, use set_irq_chip
Don't access desc->chip directly, because them chip member will
disappear some time later.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r-- | arch/ia64/kernel/irq_ia64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/irq_ia64.c b/arch/ia64/kernel/irq_ia64.c index 9a26015c3e50..38c07b866901 100644 --- a/arch/ia64/kernel/irq_ia64.c +++ b/arch/ia64/kernel/irq_ia64.c | |||
@@ -633,7 +633,7 @@ ia64_native_register_percpu_irq (ia64_vector vec, struct irqaction *action) | |||
633 | BUG_ON(bind_irq_vector(irq, vec, CPU_MASK_ALL)); | 633 | BUG_ON(bind_irq_vector(irq, vec, CPU_MASK_ALL)); |
634 | desc = irq_desc + irq; | 634 | desc = irq_desc + irq; |
635 | desc->status |= IRQ_PER_CPU; | 635 | desc->status |= IRQ_PER_CPU; |
636 | desc->chip = &irq_type_ia64_lsapic; | 636 | set_irq_chip(irq, &irq_type_ia64_lsapic); |
637 | if (action) | 637 | if (action) |
638 | setup_irq(irq, action); | 638 | setup_irq(irq, action); |
639 | set_irq_handler(irq, handle_percpu_irq); | 639 | set_irq_handler(irq, handle_percpu_irq); |