Commit 409e5905 authored by Jiri Slaby's avatar Jiri Slaby Committed by Tony Luck

[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: default avatarJiri Slaby <jslaby@suse.cz>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent e21763db
...@@ -633,7 +633,7 @@ ia64_native_register_percpu_irq (ia64_vector vec, struct irqaction *action) ...@@ -633,7 +633,7 @@ ia64_native_register_percpu_irq (ia64_vector vec, struct irqaction *action)
BUG_ON(bind_irq_vector(irq, vec, CPU_MASK_ALL)); BUG_ON(bind_irq_vector(irq, vec, CPU_MASK_ALL));
desc = irq_desc + irq; desc = irq_desc + irq;
desc->status |= IRQ_PER_CPU; desc->status |= IRQ_PER_CPU;
desc->chip = &irq_type_ia64_lsapic; set_irq_chip(irq, &irq_type_ia64_lsapic);
if (action) if (action)
setup_irq(irq, action); setup_irq(irq, action);
set_irq_handler(irq, handle_percpu_irq); set_irq_handler(irq, handle_percpu_irq);
......
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