ia64/iosapic: Use irq_set_chip_handler_name_locked()
authorThomas Gleixner <tglx@linutronix.de>
Mon, 13 Jul 2015 20:42:48 +0000 (20:42 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 27 Jul 2015 11:36:37 +0000 (13:36 +0200)
__irq_set_chip_handler_name_locked() is about to be replaced. Use
irq_set_chip_handler_name_locked() instead.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Link: http://lkml.kernel.org/r/20150713131034.723024979@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/ia64/kernel/iosapic.c

index 4d2698d43c3980c6842b85893340b24f3b08296a..d2fae054d988cdc9326ad249434bb8ec50b0b45e 100644 (file)
@@ -610,9 +610,9 @@ register_intr (unsigned int gsi, int irq, unsigned char delivery,
                               chip->name, irq_type->name);
                chip = irq_type;
        }
-       __irq_set_chip_handler_name_locked(irq, chip, trigger == IOSAPIC_EDGE ?
-                                          handle_edge_irq : handle_level_irq,
-                                          NULL);
+       irq_set_chip_handler_name_locked(irq_get_irq_data(irq), chip,
+               trigger == IOSAPIC_EDGE ? handle_edge_irq : handle_level_irq,
+               NULL);
        return 0;
 }