MIPS: Convert the irq functions to the new names
authorThomas Gleixner <tglx@linutronix.de>
Sun, 27 Mar 2011 13:19:28 +0000 (15:19 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 29 Mar 2011 12:48:07 +0000 (14:48 +0200)
Scripted with coccinelle.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
59 files changed:
arch/mips/alchemy/devboards/bcsr.c
arch/mips/alchemy/devboards/db1200/setup.c
arch/mips/alchemy/devboards/db1x00/board_setup.c
arch/mips/alchemy/devboards/pb1000/board_setup.c
arch/mips/alchemy/devboards/pb1100/board_setup.c
arch/mips/alchemy/devboards/pb1200/board_setup.c
arch/mips/alchemy/devboards/pb1500/board_setup.c
arch/mips/alchemy/devboards/pb1550/board_setup.c
arch/mips/alchemy/mtx-1/board_setup.c
arch/mips/alchemy/xxs1500/board_setup.c
arch/mips/ar7/irq.c
arch/mips/ath79/irq.c
arch/mips/bcm63xx/irq.c
arch/mips/dec/ioasic-irq.c
arch/mips/dec/kn02-irq.c
arch/mips/emma/markeins/irq.c
arch/mips/jazz/irq.c
arch/mips/jz4740/gpio.c
arch/mips/jz4740/irq.c
arch/mips/kernel/i8259.c
arch/mips/kernel/irq-gic.c
arch/mips/kernel/irq-gt641xx.c
arch/mips/kernel/irq-msc01.c
arch/mips/kernel/irq-rm7000.c
arch/mips/kernel/irq-rm9000.c
arch/mips/kernel/irq.c
arch/mips/kernel/irq_cpu.c
arch/mips/kernel/irq_txx9.c
arch/mips/kernel/smtc.c
arch/mips/lasat/interrupt.c
arch/mips/loongson/common/bonito-irq.c
arch/mips/mti-malta/malta-int.c
arch/mips/mti-malta/malta-time.c
arch/mips/pci/msi-octeon.c
arch/mips/pmc-sierra/msp71xx/msp_irq_cic.c
arch/mips/pmc-sierra/msp71xx/msp_irq_slp.c
arch/mips/pmc-sierra/msp71xx/msp_smp.c
arch/mips/pnx833x/common/interrupts.c
arch/mips/pnx8550/common/int.c
arch/mips/powertv/asic/irq_asic.c
arch/mips/rb532/irq.c
arch/mips/sgi-ip22/ip22-int.c
arch/mips/sgi-ip27/ip27-irq.c
arch/mips/sgi-ip27/ip27-timer.c
arch/mips/sgi-ip32/ip32-irq.c
arch/mips/sibyte/bcm1480/irq.c
arch/mips/sibyte/sb1250/irq.c
arch/mips/sni/a20r.c
arch/mips/sni/pcimt.c
arch/mips/sni/pcit.c
arch/mips/sni/rm200.c
arch/mips/txx9/generic/irq_tx4927.c
arch/mips/txx9/generic/irq_tx4938.c
arch/mips/txx9/generic/irq_tx4939.c
arch/mips/txx9/jmr3927/irq.c
arch/mips/txx9/rbtx4927/irq.c
arch/mips/txx9/rbtx4938/irq.c
arch/mips/txx9/rbtx4939/irq.c
arch/mips/vr41xx/common/icu.c

index f91c43a7d5dc1ecf6d9a220704c9c0852d8c43b2..596ad00e7f05f7bd0c6dc41b663ed2694fdc263d 100644 (file)
@@ -142,8 +142,8 @@ void __init bcsr_init_irq(int csc_start, int csc_end, int hook_irq)
        bcsr_csc_base = csc_start;
 
        for (irq = csc_start; irq <= csc_end; irq++)
-               set_irq_chip_and_handler_name(irq, &bcsr_irq_type,
-                       handle_level_irq, "level");
+               irq_set_chip_and_handler_name(irq, &bcsr_irq_type,
+                                             handle_level_irq, "level");
 
-       set_irq_chained_handler(hook_irq, bcsr_csc_handler);
+       irq_set_chained_handler(hook_irq, bcsr_csc_handler);
 }
index a4e04004b03cdfb27aa4e4db78e2abe2f710a6e3..4a8980027ecf83538229e71ea67fe3c27c2a4517 100644 (file)
@@ -63,7 +63,7 @@ void __init board_setup(void)
 static int __init db1200_arch_init(void)
 {
        /* GPIO7 is low-level triggered CPLD cascade */
-       set_irq_type(AU1200_GPIO7_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1200_GPIO7_INT, IRQF_TRIGGER_LOW);
        bcsr_init_irq(DB1200_INT_BEGIN, DB1200_INT_END, AU1200_GPIO7_INT);
 
        /* insert/eject pairs: one of both is always screaming.  To avoid
index 9e45971343edcd3a751f470bbefdce595e1e0adf..05f120ff90f9c244312a57f9a2619a627e9e28ab 100644 (file)
@@ -215,35 +215,35 @@ void __init board_setup(void)
 static int __init db1x00_init_irq(void)
 {
 #if defined(CONFIG_MIPS_MIRAGE)
-       set_irq_type(AU1500_GPIO7_INT, IRQF_TRIGGER_RISING); /* TS pendown */
+       irq_set_irq_type(AU1500_GPIO7_INT, IRQF_TRIGGER_RISING); /* TS pendown */
 #elif defined(CONFIG_MIPS_DB1550)
-       set_irq_type(AU1550_GPIO0_INT, IRQF_TRIGGER_LOW);  /* CD0# */
-       set_irq_type(AU1550_GPIO1_INT, IRQF_TRIGGER_LOW);  /* CD1# */
-       set_irq_type(AU1550_GPIO3_INT, IRQF_TRIGGER_LOW);  /* CARD0# */
-       set_irq_type(AU1550_GPIO5_INT, IRQF_TRIGGER_LOW);  /* CARD1# */
-       set_irq_type(AU1550_GPIO21_INT, IRQF_TRIGGER_LOW); /* STSCHG0# */
-       set_irq_type(AU1550_GPIO22_INT, IRQF_TRIGGER_LOW); /* STSCHG1# */
+       irq_set_irq_type(AU1550_GPIO0_INT, IRQF_TRIGGER_LOW);  /* CD0# */
+       irq_set_irq_type(AU1550_GPIO1_INT, IRQF_TRIGGER_LOW);  /* CD1# */
+       irq_set_irq_type(AU1550_GPIO3_INT, IRQF_TRIGGER_LOW);  /* CARD0# */
+       irq_set_irq_type(AU1550_GPIO5_INT, IRQF_TRIGGER_LOW);  /* CARD1# */
+       irq_set_irq_type(AU1550_GPIO21_INT, IRQF_TRIGGER_LOW); /* STSCHG0# */
+       irq_set_irq_type(AU1550_GPIO22_INT, IRQF_TRIGGER_LOW); /* STSCHG1# */
 #elif defined(CONFIG_MIPS_DB1500)
-       set_irq_type(AU1500_GPIO0_INT, IRQF_TRIGGER_LOW); /* CD0# */
-       set_irq_type(AU1500_GPIO3_INT, IRQF_TRIGGER_LOW); /* CD1# */
-       set_irq_type(AU1500_GPIO2_INT, IRQF_TRIGGER_LOW); /* CARD0# */
-       set_irq_type(AU1500_GPIO5_INT, IRQF_TRIGGER_LOW); /* CARD1# */
-       set_irq_type(AU1500_GPIO1_INT, IRQF_TRIGGER_LOW); /* STSCHG0# */
-       set_irq_type(AU1500_GPIO4_INT, IRQF_TRIGGER_LOW); /* STSCHG1# */
+       irq_set_irq_type(AU1500_GPIO0_INT, IRQF_TRIGGER_LOW); /* CD0# */
+       irq_set_irq_type(AU1500_GPIO3_INT, IRQF_TRIGGER_LOW); /* CD1# */
+       irq_set_irq_type(AU1500_GPIO2_INT, IRQF_TRIGGER_LOW); /* CARD0# */
+       irq_set_irq_type(AU1500_GPIO5_INT, IRQF_TRIGGER_LOW); /* CARD1# */
+       irq_set_irq_type(AU1500_GPIO1_INT, IRQF_TRIGGER_LOW); /* STSCHG0# */
+       irq_set_irq_type(AU1500_GPIO4_INT, IRQF_TRIGGER_LOW); /* STSCHG1# */
 #elif defined(CONFIG_MIPS_DB1100)
-       set_irq_type(AU1100_GPIO0_INT, IRQF_TRIGGER_LOW); /* CD0# */
-       set_irq_type(AU1100_GPIO3_INT, IRQF_TRIGGER_LOW); /* CD1# */
-       set_irq_type(AU1100_GPIO2_INT, IRQF_TRIGGER_LOW); /* CARD0# */
-       set_irq_type(AU1100_GPIO5_INT, IRQF_TRIGGER_LOW); /* CARD1# */
-       set_irq_type(AU1100_GPIO1_INT, IRQF_TRIGGER_LOW); /* STSCHG0# */
-       set_irq_type(AU1100_GPIO4_INT, IRQF_TRIGGER_LOW); /* STSCHG1# */
+       irq_set_irq_type(AU1100_GPIO0_INT, IRQF_TRIGGER_LOW); /* CD0# */
+       irq_set_irq_type(AU1100_GPIO3_INT, IRQF_TRIGGER_LOW); /* CD1# */
+       irq_set_irq_type(AU1100_GPIO2_INT, IRQF_TRIGGER_LOW); /* CARD0# */
+       irq_set_irq_type(AU1100_GPIO5_INT, IRQF_TRIGGER_LOW); /* CARD1# */
+       irq_set_irq_type(AU1100_GPIO1_INT, IRQF_TRIGGER_LOW); /* STSCHG0# */
+       irq_set_irq_type(AU1100_GPIO4_INT, IRQF_TRIGGER_LOW); /* STSCHG1# */
 #elif defined(CONFIG_MIPS_DB1000)
-       set_irq_type(AU1000_GPIO0_INT, IRQF_TRIGGER_LOW); /* CD0# */
-       set_irq_type(AU1000_GPIO3_INT, IRQF_TRIGGER_LOW); /* CD1# */
-       set_irq_type(AU1000_GPIO2_INT, IRQF_TRIGGER_LOW); /* CARD0# */
-       set_irq_type(AU1000_GPIO5_INT, IRQF_TRIGGER_LOW); /* CARD1# */
-       set_irq_type(AU1000_GPIO1_INT, IRQF_TRIGGER_LOW); /* STSCHG0# */
-       set_irq_type(AU1000_GPIO4_INT, IRQF_TRIGGER_LOW); /* STSCHG1# */
+       irq_set_irq_type(AU1000_GPIO0_INT, IRQF_TRIGGER_LOW); /* CD0# */
+       irq_set_irq_type(AU1000_GPIO3_INT, IRQF_TRIGGER_LOW); /* CD1# */
+       irq_set_irq_type(AU1000_GPIO2_INT, IRQF_TRIGGER_LOW); /* CARD0# */
+       irq_set_irq_type(AU1000_GPIO5_INT, IRQF_TRIGGER_LOW); /* CARD1# */
+       irq_set_irq_type(AU1000_GPIO1_INT, IRQF_TRIGGER_LOW); /* STSCHG0# */
+       irq_set_irq_type(AU1000_GPIO4_INT, IRQF_TRIGGER_LOW); /* STSCHG1# */
 #endif
        return 0;
 }
index f6540ec47a64412d982aee01f9e92acd161d363c..2d85c4b5be096f530266f6cfc620886aa1c8b4c6 100644 (file)
@@ -197,7 +197,7 @@ void __init board_setup(void)
 
 static int __init pb1000_init_irq(void)
 {
-       set_irq_type(AU1000_GPIO15_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1000_GPIO15_INT, IRQF_TRIGGER_LOW);
        return 0;
 }
 arch_initcall(pb1000_init_irq);
index 90dda5f3ecc50fad0344b3aadfaa00b2473d037e..d108fd573aaf0eb75d7a2d25abb9a62cbb38eba2 100644 (file)
@@ -117,10 +117,10 @@ void __init board_setup(void)
 
 static int __init pb1100_init_irq(void)
 {
-       set_irq_type(AU1100_GPIO9_INT,  IRQF_TRIGGER_LOW); /* PCCD# */
-       set_irq_type(AU1100_GPIO10_INT, IRQF_TRIGGER_LOW); /* PCSTSCHG# */
-       set_irq_type(AU1100_GPIO11_INT, IRQF_TRIGGER_LOW); /* PCCard# */
-       set_irq_type(AU1100_GPIO13_INT, IRQF_TRIGGER_LOW); /* DC_IRQ# */
+       irq_set_irq_type(AU1100_GPIO9_INT, IRQF_TRIGGER_LOW); /* PCCD# */
+       irq_set_irq_type(AU1100_GPIO10_INT, IRQF_TRIGGER_LOW); /* PCSTSCHG# */
+       irq_set_irq_type(AU1100_GPIO11_INT, IRQF_TRIGGER_LOW); /* PCCard# */
+       irq_set_irq_type(AU1100_GPIO13_INT, IRQF_TRIGGER_LOW); /* DC_IRQ# */
 
        return 0;
 }
index 8b4466f2d44a3de00a28e19a87158d3d9b5974f4..6d06b07c238111b774c2a7e2a15a68dfcbbc4b6f 100644 (file)
@@ -142,7 +142,7 @@ static int __init pb1200_init_irq(void)
                panic("Game over.  Your score is 0.");
        }
 
-       set_irq_type(AU1200_GPIO7_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1200_GPIO7_INT, IRQF_TRIGGER_LOW);
        bcsr_init_irq(PB1200_INT_BEGIN, PB1200_INT_END, AU1200_GPIO7_INT);
 
        return 0;
index 9cd9dfa698e75a9d89d36074f466483f1d512ae7..83f46215eb0c3b7b652a2abea4f7a41dda0c7a15 100644 (file)
@@ -134,14 +134,14 @@ void __init board_setup(void)
 
 static int __init pb1500_init_irq(void)
 {
-       set_irq_type(AU1500_GPIO9_INT, IRQF_TRIGGER_LOW);   /* CD0# */
-       set_irq_type(AU1500_GPIO10_INT, IRQF_TRIGGER_LOW);  /* CARD0 */
-       set_irq_type(AU1500_GPIO11_INT, IRQF_TRIGGER_LOW);  /* STSCHG0# */
-       set_irq_type(AU1500_GPIO204_INT, IRQF_TRIGGER_HIGH);
-       set_irq_type(AU1500_GPIO201_INT, IRQF_TRIGGER_LOW);
-       set_irq_type(AU1500_GPIO202_INT, IRQF_TRIGGER_LOW);
-       set_irq_type(AU1500_GPIO203_INT, IRQF_TRIGGER_LOW);
-       set_irq_type(AU1500_GPIO205_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1500_GPIO9_INT, IRQF_TRIGGER_LOW);   /* CD0# */
+       irq_set_irq_type(AU1500_GPIO10_INT, IRQF_TRIGGER_LOW);  /* CARD0 */
+       irq_set_irq_type(AU1500_GPIO11_INT, IRQF_TRIGGER_LOW);  /* STSCHG0# */
+       irq_set_irq_type(AU1500_GPIO204_INT, IRQF_TRIGGER_HIGH);
+       irq_set_irq_type(AU1500_GPIO201_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1500_GPIO202_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1500_GPIO203_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1500_GPIO205_INT, IRQF_TRIGGER_LOW);
 
        return 0;
 }
index 9d7d6edafa8dc87cf1877e86a7348790c7312ad0..b790213848bd3f31086fbe940a4d1456b70c1617 100644 (file)
@@ -73,9 +73,9 @@ void __init board_setup(void)
 
 static int __init pb1550_init_irq(void)
 {
-       set_irq_type(AU1550_GPIO0_INT, IRQF_TRIGGER_LOW);
-       set_irq_type(AU1550_GPIO1_INT, IRQF_TRIGGER_LOW);
-       set_irq_type(AU1550_GPIO201_205_INT, IRQF_TRIGGER_HIGH);
+       irq_set_irq_type(AU1550_GPIO0_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1550_GPIO1_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1550_GPIO201_205_INT, IRQF_TRIGGER_HIGH);
 
        /* enable both PCMCIA card irqs in the shared line */
        alchemy_gpio2_enable_int(201);
index 40b84b99119133e2bce153532c9db5fcca2d1700..cf436ab679ae81f6abdb2ba422bc75617c3d5fed 100644 (file)
@@ -123,11 +123,11 @@ mtx1_pci_idsel(unsigned int devsel, int assert)
 
 static int __init mtx1_init_irq(void)
 {
-       set_irq_type(AU1500_GPIO204_INT, IRQF_TRIGGER_HIGH);
-       set_irq_type(AU1500_GPIO201_INT, IRQF_TRIGGER_LOW);
-       set_irq_type(AU1500_GPIO202_INT, IRQF_TRIGGER_LOW);
-       set_irq_type(AU1500_GPIO203_INT, IRQF_TRIGGER_LOW);
-       set_irq_type(AU1500_GPIO205_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1500_GPIO204_INT, IRQF_TRIGGER_HIGH);
+       irq_set_irq_type(AU1500_GPIO201_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1500_GPIO202_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1500_GPIO203_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1500_GPIO205_INT, IRQF_TRIGGER_LOW);
 
        return 0;
 }
index 80c521e5290d630b0c0ec69023aaa6c9d4a00bff..febfb0fb0896dcd979ca52bc40ecf0fcb3bfcbe2 100644 (file)
@@ -85,19 +85,19 @@ void __init board_setup(void)
 
 static int __init xxs1500_init_irq(void)
 {
-       set_irq_type(AU1500_GPIO204_INT, IRQF_TRIGGER_HIGH);
-       set_irq_type(AU1500_GPIO201_INT, IRQF_TRIGGER_LOW);
-       set_irq_type(AU1500_GPIO202_INT, IRQF_TRIGGER_LOW);
-       set_irq_type(AU1500_GPIO203_INT, IRQF_TRIGGER_LOW);
-       set_irq_type(AU1500_GPIO205_INT, IRQF_TRIGGER_LOW);
-       set_irq_type(AU1500_GPIO207_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1500_GPIO204_INT, IRQF_TRIGGER_HIGH);
+       irq_set_irq_type(AU1500_GPIO201_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1500_GPIO202_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1500_GPIO203_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1500_GPIO205_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1500_GPIO207_INT, IRQF_TRIGGER_LOW);
 
-       set_irq_type(AU1500_GPIO0_INT, IRQF_TRIGGER_LOW);
-       set_irq_type(AU1500_GPIO1_INT, IRQF_TRIGGER_LOW);
-       set_irq_type(AU1500_GPIO2_INT, IRQF_TRIGGER_LOW);
-       set_irq_type(AU1500_GPIO3_INT, IRQF_TRIGGER_LOW);
-       set_irq_type(AU1500_GPIO4_INT, IRQF_TRIGGER_LOW); /* CF irq */
-       set_irq_type(AU1500_GPIO5_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1500_GPIO0_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1500_GPIO1_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1500_GPIO2_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1500_GPIO3_INT, IRQF_TRIGGER_LOW);
+       irq_set_irq_type(AU1500_GPIO4_INT, IRQF_TRIGGER_LOW); /* CF irq */
+       irq_set_irq_type(AU1500_GPIO5_INT, IRQF_TRIGGER_LOW);
 
        return 0;
 }
index a6484b60642fc071465a0fe614220bc1808c654c..03db3daadbd8f95524783ae7c802e9524e9fb346 100644 (file)
@@ -119,11 +119,11 @@ static void __init ar7_irq_init(int base)
        for (i = 0; i < 40; i++) {
                writel(i, REG(CHNL_OFFSET(i)));
                /* Primary IRQ's */
-               set_irq_chip_and_handler(base + i, &ar7_irq_type,
+               irq_set_chip_and_handler(base + i, &ar7_irq_type,
                                         handle_level_irq);
                /* Secondary IRQ's */
                if (i < 32)
-                       set_irq_chip_and_handler(base + i + 40,
+                       irq_set_chip_and_handler(base + i + 40,
                                                 &ar7_sec_irq_type,
                                                 handle_level_irq);
        }
index 7c02bc948a313077aac8fd354a0b2302c8f57169..ac610d5fe3bab415ef649872072bacce58718c19 100644 (file)
@@ -124,11 +124,11 @@ static void __init ath79_misc_irq_init(void)
 
        for (i = ATH79_MISC_IRQ_BASE;
             i < ATH79_MISC_IRQ_BASE + ATH79_MISC_IRQ_COUNT; i++) {
-               set_irq_chip_and_handler(i, &ath79_misc_irq_chip,
+               irq_set_chip_and_handler(i, &ath79_misc_irq_chip,
                                         handle_level_irq);
        }
 
-       set_irq_chained_handler(ATH79_CPU_IRQ_MISC, ath79_misc_irq_handler);
+       irq_set_chained_handler(ATH79_CPU_IRQ_MISC, ath79_misc_irq_handler);
 }
 
 asmlinkage void plat_irq_dispatch(void)
index 1691531aa34d405d166b946a8739637cf312ec7d..cea6021cb8d7a3172976bd1a8c7b378b41331c93 100644 (file)
@@ -230,11 +230,11 @@ void __init arch_init_irq(void)
 
        mips_cpu_irq_init();
        for (i = IRQ_INTERNAL_BASE; i < NR_IRQS; ++i)
-               set_irq_chip_and_handler(i, &bcm63xx_internal_irq_chip,
+               irq_set_chip_and_handler(i, &bcm63xx_internal_irq_chip,
                                         handle_level_irq);
 
        for (i = IRQ_EXT_BASE; i < IRQ_EXT_BASE + 4; ++i)
-               set_irq_chip_and_handler(i, &bcm63xx_external_irq_chip,
+               irq_set_chip_and_handler(i, &bcm63xx_external_irq_chip,
                                         handle_edge_irq);
 
        setup_irq(IRQ_MIPS_BASE + 2, &cpu_ip2_cascade_action);
index 8d9a5fc607e48573f50efcd3eb9e9f2af0358756..824e08c737981d8d9be039892b49f876b4c54bd0 100644 (file)
@@ -68,10 +68,10 @@ void __init init_ioasic_irqs(int base)
        fast_iob();
 
        for (i = base; i < base + IO_INR_DMA; i++)
-               set_irq_chip_and_handler(i, &ioasic_irq_type,
+               irq_set_chip_and_handler(i, &ioasic_irq_type,
                                         handle_level_irq);
        for (; i < base + IO_IRQ_LINES; i++)
-               set_irq_chip(i, &ioasic_dma_irq_type);
+               irq_set_chip(i, &ioasic_dma_irq_type);
 
        ioasic_irq_base = base;
 }
index ef31d98c4fb8dd01622505345b0fec9ced62b009..37199f742c4590ba6bb302f7fa37766aa3606342 100644 (file)
@@ -73,7 +73,7 @@ void __init init_kn02_irqs(int base)
        iob();
 
        for (i = base; i < base + KN02_IRQ_LINES; i++)
-               set_irq_chip_and_handler(i, &kn02_irq_type, handle_level_irq);
+               irq_set_chip_and_handler(i, &kn02_irq_type, handle_level_irq);
 
        kn02_irq_base = base;
 }
index 9b1207ae22560380a9f1837f02c1069cf8103a64..3dbd7a5a6ad33f5ab8335c0c45d84f235adb9d01 100644 (file)
@@ -69,7 +69,7 @@ void emma2rh_irq_init(void)
        u32 i;
 
        for (i = 0; i < NUM_EMMA2RH_IRQ; i++)
-               set_irq_chip_and_handler_name(EMMA2RH_IRQ_BASE + i,
+               irq_set_chip_and_handler_name(EMMA2RH_IRQ_BASE + i,
                                              &emma2rh_irq_controller,
                                              handle_level_irq, "level");
 }
@@ -105,7 +105,7 @@ void emma2rh_sw_irq_init(void)
        u32 i;
 
        for (i = 0; i < NUM_EMMA2RH_IRQ_SW; i++)
-               set_irq_chip_and_handler_name(EMMA2RH_SW_IRQ_BASE + i,
+               irq_set_chip_and_handler_name(EMMA2RH_SW_IRQ_BASE + i,
                                              &emma2rh_sw_irq_controller,
                                              handle_level_irq, "level");
 }
@@ -162,7 +162,7 @@ void emma2rh_gpio_irq_init(void)
        u32 i;
 
        for (i = 0; i < NUM_EMMA2RH_IRQ_GPIO; i++)
-               set_irq_chip_and_handler_name(EMMA2RH_GPIO_IRQ_BASE + i,
+               irq_set_chip_and_handler_name(EMMA2RH_GPIO_IRQ_BASE + i,
                                              &emma2rh_gpio_irq_controller,
                                              handle_edge_irq, "edge");
 }
index 40f7c6b1e26030d1a1a886f9c763c2b442410e01..260df47509494e06a6747f18891ab0ce75278fa2 100644 (file)
@@ -56,7 +56,7 @@ void __init init_r4030_ints(void)
        int i;
 
        for (i = JAZZ_IRQ_START; i <= JAZZ_IRQ_END; i++)
-               set_irq_chip_and_handler(i, &r4030_irq_type, handle_level_irq);
+               irq_set_chip_and_handler(i, &r4030_irq_type, handle_level_irq);
 
        r4030_write_reg16(JAZZ_IO_IRQ_ENABLE, 0);
        r4030_read_reg16(JAZZ_IO_IRQ_SOURCE);           /* clear pending IRQs */
index bd2fc29b95e0920ed73e34d1f1de0b1ca09f236f..73031f7fc827e70c42ba99562897874b060605c5 100644 (file)
@@ -306,7 +306,7 @@ static void jz_gpio_irq_demux_handler(unsigned int irq, struct irq_desc *desc)
        uint32_t flag;
        unsigned int gpio_irq;
        unsigned int gpio_bank;
-       struct jz_gpio_chip *chip = get_irq_desc_data(desc);
+       struct jz_gpio_chip *chip = irq_desc_get_handler_data(desc);
 
        gpio_bank = JZ4740_IRQ_GPIO0 - irq;
 
@@ -416,7 +416,7 @@ static int jz_gpio_irq_set_wake(struct irq_data *data, unsigned int on)
                chip->wakeup &= ~IRQ_TO_BIT(data->irq);
        spin_unlock(&chip->lock);
 
-       set_irq_wake(chip->irq, on);
+       irq_set_irq_wake(chip->irq, on);
        return 0;
 }
 
@@ -510,14 +510,14 @@ static int jz4740_gpio_chip_init(struct jz_gpio_chip *chip, unsigned int id)
        gpiochip_add(&chip->gpio_chip);
 
        chip->irq = JZ4740_IRQ_INTC_GPIO(id);
-       set_irq_data(chip->irq, chip);
-       set_irq_chained_handler(chip->irq, jz_gpio_irq_demux_handler);
+       irq_set_handler_data(chip->irq, chip);
+       irq_set_chained_handler(chip->irq, jz_gpio_irq_demux_handler);
 
        for (irq = chip->irq_base; irq < chip->irq_base + chip->gpio_chip.ngpio; ++irq) {
                irq_set_lockdep_class(irq, &gpio_lock_class);
-               set_irq_chip_data(irq, chip);
-               set_irq_chip_and_handler(irq, &jz_gpio_irq_chip,
-                       handle_level_irq);
+               irq_set_chip_data(irq, chip);
+               irq_set_chip_and_handler(irq, &jz_gpio_irq_chip,
+                                        handle_level_irq);
        }
 
        return 0;
index dcc5593a9389ba7552c5de926cabf3cd74221145..d82c0c430e03b27370fc12718c0077bd71f3c96a 100644 (file)
@@ -104,8 +104,8 @@ void __init arch_init_irq(void)
        writel(0xffffffff, jz_intc_base + JZ_REG_INTC_SET_MASK);
 
        for (i = JZ4740_IRQ_BASE; i < JZ4740_IRQ_BASE + 32; i++) {
-               set_irq_chip_data(i, (void *)IRQ_BIT(i));
-               set_irq_chip_and_handler(i, &intc_irq_type, handle_level_irq);
+               irq_set_chip_data(i, (void *)IRQ_BIT(i));
+               irq_set_chip_and_handler(i, &intc_irq_type, handle_level_irq);
        }
 
        setup_irq(2, &jz4740_cascade_action);
index e221662bb80cc1def1c5f35df77b93d2f2ea8b13..c018696765d4c86d5a474049f5a13023387f437d 100644 (file)
@@ -110,7 +110,7 @@ int i8259A_irq_pending(unsigned int irq)
 void make_8259A_irq(unsigned int irq)
 {
        disable_irq_nosync(irq);
-       set_irq_chip_and_handler(irq, &i8259A_chip, handle_level_irq);
+       irq_set_chip_and_handler(irq, &i8259A_chip, handle_level_irq);
        enable_irq(irq);
 }
 
@@ -336,8 +336,8 @@ void __init init_i8259_irqs(void)
        init_8259A(0);
 
        for (i = I8259A_IRQ_BASE; i < I8259A_IRQ_BASE + 16; i++) {
-               set_irq_chip_and_handler(i, &i8259A_chip, handle_level_irq);
-               set_irq_probe(i);
+               irq_set_chip_and_handler(i, &i8259A_chip, handle_level_irq);
+               irq_set_probe(i);
        }
 
        setup_irq(I8259A_IRQ_BASE + PIC_CASCADE_IR, &irq2);
index 43cd9628251a5e3c4d74fabb1607dee24f619c8e..0c527f652196f4be60aad9515e731c703620df49 100644 (file)
@@ -229,7 +229,7 @@ static void __init gic_basic_init(int numintrs, int numvpes,
        vpe_local_setup(numvpes);
 
        for (i = _irqbase; i < (_irqbase + numintrs); i++)
-               set_irq_chip(i, &gic_irq_controller);
+               irq_set_chip(i, &gic_irq_controller);
 }
 
 void __init gic_init(unsigned long gic_base_addr,
index 7fd176fa367ac32cee4ead24da2aaffd50689290..883fc6cead360c086b85e35a0cde476db12b22a4 100644 (file)
@@ -126,6 +126,6 @@ void __init gt641xx_irq_init(void)
         * bit31: logical or of bits[25:1].
         */
        for (i = 1; i < 30; i++)
-               set_irq_chip_and_handler(GT641XX_IRQ_BASE + i,
-                                        &gt641xx_irq_chip, handle_level_irq);
+               irq_set_chip_and_handler(GT641XX_IRQ_BASE + i,
+                                        &gt641xx_irq_chip, handle_level_irq);
 }
index fc800cd9947e648e996ec1a93bbbe4424ba2688a..0c6afeed89d2b71d382f7ec826bb5a64d762c90e 100644 (file)
@@ -137,16 +137,20 @@ void __init init_msc_irqs(unsigned long icubase, unsigned int irqbase, msc_irqma
 
                switch (imp->im_type) {
                case MSC01_IRQ_EDGE:
-                       set_irq_chip_and_handler_name(irqbase + n,
-                               &msc_edgeirq_type, handle_edge_irq, "edge");
+                       irq_set_chip_and_handler_name(irqbase + n,
+                                                     &msc_edgeirq_type,
+                                                     handle_edge_irq,
+                                                     "edge");
                        if (cpu_has_veic)
                                MSCIC_WRITE(MSC01_IC_SUP+n*8, MSC01_IC_SUP_EDGE_BIT);
                        else
                                MSCIC_WRITE(MSC01_IC_SUP+n*8, MSC01_IC_SUP_EDGE_BIT | imp->im_lvl);
                        break;
                case MSC01_IRQ_LEVEL:
-                       set_irq_chip_and_handler_name(irqbase+n,
-                               &msc_levelirq_type, handle_level_irq, "level");
+                       irq_set_chip_and_handler_name(irqbase + n,
+                                                     &msc_levelirq_type,
+                                                     handle_level_irq,
+                                                     "level");
                        if (cpu_has_veic)
                                MSCIC_WRITE(MSC01_IC_SUP+n*8, 0);
                        else
index fd24fd98b0410f70a83abe77a766014a4d963b87..a8a8977d58872f5973401adb691f2232937d3a73 100644 (file)
@@ -45,6 +45,6 @@ void __init rm7k_cpu_irq_init(void)
        clear_c0_intcontrol(0x00000f00);                /* Mask all */
 
        for (i = base; i < base + 4; i++)
-               set_irq_chip_and_handler(i, &rm7k_irq_controller,
+               irq_set_chip_and_handler(i, &rm7k_irq_controller,
                                         handle_percpu_irq);
 }
index ca463ec9bad522260b6613626c33dbcab7aaff22..38874a4b9255b918af63b94f289c60a4d41523cc 100644 (file)
@@ -98,10 +98,10 @@ void __init rm9k_cpu_irq_init(void)
        clear_c0_intcontrol(0x0000f000);                /* Mask all */
 
        for (i = base; i < base + 4; i++)
-               set_irq_chip_and_handler(i, &rm9k_irq_controller,
+               irq_set_chip_and_handler(i, &rm9k_irq_controller,
                                         handle_level_irq);
 
        rm9000_perfcount_irq = base + 1;
-       set_irq_chip_and_handler(rm9000_perfcount_irq, &rm9k_perfcounter_irq,
+       irq_set_chip_and_handler(rm9000_perfcount_irq, &rm9k_perfcounter_irq,
                                 handle_percpu_irq);
 }
index 1b68ebe1b4583f42052d470626cc4250262219b8..9b734d74ae8e0ee43922d34629ed1838d5c0e7c8 100644 (file)
@@ -102,7 +102,7 @@ void __init init_IRQ(void)
 #endif
 
        for (i = 0; i < NR_IRQS; i++)
-               set_irq_noprobe(i);
+               irq_set_noprobe(i);
 
        arch_init_irq();
 
index fd945c56bc33edd5aae2b1e04cb1b2064c1b1d0f..6e71b284f6c925b7b3f73bfd89e78bfd6816b7b6 100644 (file)
@@ -109,10 +109,10 @@ void __init mips_cpu_irq_init(void)
         */
        if (cpu_has_mipsmt)
                for (i = irq_base; i < irq_base + 2; i++)
-                       set_irq_chip_and_handler(i, &mips_mt_cpu_irq_controller,
+                       irq_set_chip_and_handler(i, &mips_mt_cpu_irq_controller,
                                                 handle_percpu_irq);
 
        for (i = irq_base + 2; i < irq_base + 8; i++)
-               set_irq_chip_and_handler(i, &mips_cpu_irq_controller,
+               irq_set_chip_and_handler(i, &mips_cpu_irq_controller,
                                         handle_percpu_irq);
 }
index 526e1581549a53c2216bca5445e8f3602cb5fb81..b0c55b50218e9e4f1940e3fcd518aa8aecb55fda 100644 (file)
@@ -154,8 +154,8 @@ void __init txx9_irq_init(unsigned long baseaddr)
        for (i = 0; i < TXx9_MAX_IR; i++) {
                txx9irq[i].level = 4; /* middle level */
                txx9irq[i].mode = TXx9_IRCR_LOW;
-               set_irq_chip_and_handler(TXX9_IRQ_BASE + i,
-                                        &txx9_irq_chip, handle_level_irq);
+               irq_set_chip_and_handler(TXX9_IRQ_BASE + i, &txx9_irq_chip,
+                                        handle_level_irq);
        }
 
        /* mask all IRC interrupts */
index f7e2c7807d7ba8932e8ae136e5dce79b83846f51..5a88cc4ccd5a761c468d98f6f710a38dae2013b8 100644 (file)
@@ -1146,7 +1146,7 @@ static void setup_cross_vpe_interrupts(unsigned int nvpe)
 
        setup_irq_smtc(cpu_ipi_irq, &irq_ipi, (0x100 << MIPS_CPU_IPI_IRQ));
 
-       set_irq_handler(cpu_ipi_irq, handle_percpu_irq);
+       irq_set_handler(cpu_ipi_irq, handle_percpu_irq);
 }
 
 /*
index 670e3e70d1983f7bcb11b4b822718f7f3908eb6d..de4c165515d780571712c81e9e641c9a31728c8c 100644 (file)
@@ -128,7 +128,7 @@ void __init arch_init_irq(void)
        mips_cpu_irq_init();
 
        for (i = LASAT_IRQ_BASE; i <= LASAT_IRQ_END; i++)
-               set_irq_chip_and_handler(i, &lasat_irq_type, handle_level_irq);
+               irq_set_chip_and_handler(i, &lasat_irq_type, handle_level_irq);
 
        setup_irq(LASAT_CASCADE_IRQ, &cascade);
 }
index 1549361696ad01bb94c0093bf5bcd8e9b35f6770..f27d7ccca92acd148677b9a340fcb76ffc55991f 100644 (file)
@@ -44,7 +44,8 @@ void bonito_irq_init(void)
        u32 i;
 
        for (i = LOONGSON_IRQ_BASE; i < LOONGSON_IRQ_BASE + 32; i++)
-               set_irq_chip_and_handler(i, &bonito_irq_type, handle_level_irq);
+               irq_set_chip_and_handler(i, &bonito_irq_type,
+                                        handle_level_irq);
 
 #ifdef CONFIG_CPU_LOONGSON2E
        setup_irq(LOONGSON_IRQ_BASE + 10, &dma_timeout_irqaction);
index b79b24afe3a2fc67ab6687a082e44d45bf219242..9027061f0ead0d8ba259681dacdee9da9330e1ce 100644 (file)
@@ -472,7 +472,7 @@ static void __init fill_ipi_map(void)
 void __init arch_init_ipiirq(int irq, struct irqaction *action)
 {
        setup_irq(irq, action);
-       set_irq_handler(irq, handle_percpu_irq);
+       irq_set_handler(irq, handle_percpu_irq);
 }
 
 void __init arch_init_irq(void)
index 3c6f190aa61ce9fdb2a15c10b96c139ca167a4d0..1620b83cd13eea594b091cc1f19dc655a0eb2e8d 100644 (file)
@@ -119,7 +119,7 @@ static void __init plat_perf_setup(void)
                        set_vi_handler(cp0_perfcount_irq, mips_perf_dispatch);
                mips_cpu_perf_irq = MIPS_CPU_IRQ_BASE + cp0_perfcount_irq;
 #ifdef CONFIG_SMP
-               set_irq_handler(mips_cpu_perf_irq, handle_percpu_irq);
+               irq_set_handler(mips_cpu_perf_irq, handle_percpu_irq);
 #endif
        }
 }
index eebaf5616d2675e675b4440fe6deb97bbda3a8b1..5d530f89d87223e86965eb0b013923a461263d32 100644 (file)
@@ -172,7 +172,7 @@ msi_irq_allocated:
        pci_write_config_word(dev, desc->msi_attrib.pos + PCI_MSI_FLAGS,
                              control);
 
-       set_irq_msi(irq, desc);
+       irq_set_msi_desc(irq, desc);
        write_msi_msg(irq, &msg);
        return 0;
 }
@@ -388,7 +388,7 @@ int __init octeon_msi_initialize(void)
        }
 
        for (irq = OCTEON_IRQ_MSI_BIT0; irq <= OCTEON_IRQ_MSI_LAST; irq++)
-               set_irq_chip_and_handler(irq, msi, handle_simple_irq);
+               irq_set_chip_and_handler(irq, msi, handle_simple_irq);
 
        if (octeon_has_feature(OCTEON_FEATURE_PCIE)) {
                if (request_irq(OCTEON_IRQ_PCI_MSI0, octeon_msi_interrupt0,
index 352f29d9226f01b5eff4377233862db55cba6817..c4fa2d775d8b80d7db818e74b50b07e19ea6d32a 100644 (file)
@@ -182,7 +182,7 @@ void __init msp_cic_irq_init(void)
 
        /* initialize all the IRQ descriptors */
        for (i = MSP_CIC_INTBASE ; i < MSP_CIC_INTBASE + 32 ; i++) {
-               set_irq_chip_and_handler(i, &msp_cic_irq_controller,
+               irq_set_chip_and_handler(i, &msp_cic_irq_controller,
                                         handle_level_irq);
 #ifdef CONFIG_MIPS_MT_SMTC
                /* Mask of CIC interrupt */
index 8f51e4adc4380391f34567cd504388a164ca30b4..5bbcc47da6b96954134a514888e99fc0b132ef50 100644 (file)
@@ -77,7 +77,7 @@ void __init msp_slp_irq_init(void)
 
        /* initialize all the IRQ descriptors */
        for (i = MSP_SLP_INTBASE; i < MSP_PER_INTBASE + 32; i++)
-               set_irq_chip_and_handler(i, &msp_slp_irq_controller,
+               irq_set_chip_and_handler(i, &msp_slp_irq_controller,
                                         handle_level_irq);
 }
 
index 43a9e26e1c699f70256205b0de722acc287653c7..bec17901ff03aae58814451a16d13487ed1b8ff9 100644 (file)
@@ -64,7 +64,7 @@ static struct irqaction irq_call = {
 void __init arch_init_ipiirq(int irq, struct irqaction *action)
 {
        setup_irq(irq, action);
-       set_irq_handler(irq, handle_percpu_irq);
+       irq_set_handler(irq, handle_percpu_irq);
 }
 
 void __init msp_vsmp_int_init(void)
index b226bcb0a2f4925969534213628bd7fd5238de5e..adc171c8846f29bae0fa55e5a889b7dbc6335086 100644 (file)
@@ -259,11 +259,13 @@ void __init arch_init_irq(void)
        /* Set IRQ information in irq_desc */
        for (irq = PNX833X_PIC_IRQ_BASE; irq < (PNX833X_PIC_IRQ_BASE + PNX833X_PIC_NUM_IRQ); irq++) {
                pnx833x_hard_disable_pic_irq(irq);
-               set_irq_chip_and_handler(irq, &pnx833x_pic_irq_type, handle_simple_irq);
+               irq_set_chip_and_handler(irq, &pnx833x_pic_irq_type,
+                                        handle_simple_irq);
        }
 
        for (irq = PNX833X_GPIO_IRQ_BASE; irq < (PNX833X_GPIO_IRQ_BASE + PNX833X_GPIO_NUM_IRQ); irq++)
-               set_irq_chip_and_handler(irq, &pnx833x_gpio_irq_type, handle_simple_irq);
+               irq_set_chip_and_handler(irq, &pnx833x_gpio_irq_type,
+                                        handle_simple_irq);
 
        /* Set PIC priority limiter register to 0 */
        PNX833X_PIC_INT_PRIORITY = 0;
index dbdc35c3531db15a8791783d50313479aa2a44b0..6b93c81779c1a6166ca0a5ead00f81b1632badd4 100644 (file)
@@ -183,7 +183,7 @@ void __init arch_init_irq(void)
        int configPR;
 
        for (i = 0; i < PNX8550_INT_CP0_TOTINT; i++)
-               set_irq_chip_and_handler(i, &level_irq_type, handle_level_irq);
+               irq_set_chip_and_handler(i, &level_irq_type, handle_level_irq);
 
        /* init of GIC/IPC interrupts */
        /* should be done before cp0 since cp0 init enables the GIC int */
@@ -206,7 +206,7 @@ void __init arch_init_irq(void)
                /* mask/priority is still 0 so we will not get any
                 * interrupts until it is unmasked */
 
-               set_irq_chip_and_handler(i, &level_irq_type, handle_level_irq);
+               irq_set_chip_and_handler(i, &level_irq_type, handle_level_irq);
        }
 
        /* Priority level 0 */
@@ -215,20 +215,20 @@ void __init arch_init_irq(void)
        /* Set int vector table address */
        PNX8550_GIC_VECTOR_0 = PNX8550_GIC_VECTOR_1 = 0;
 
-       set_irq_chip_and_handler(MIPS_CPU_GIC_IRQ, &level_irq_type,
+       irq_set_chip_and_handler(MIPS_CPU_GIC_IRQ, &level_irq_type,
                                 handle_level_irq);
        setup_irq(MIPS_CPU_GIC_IRQ, &gic_action);
 
        /* init of Timer interrupts */
        for (i = PNX8550_INT_TIMER_MIN; i <= PNX8550_INT_TIMER_MAX; i++)
-               set_irq_chip_and_handler(i, &level_irq_type, handle_level_irq);
+               irq_set_chip_and_handler(i, &level_irq_type, handle_level_irq);
 
        /* Stop Timer 1-3 */
        configPR = read_c0_config7();
        configPR |= 0x00000038;
        write_c0_config7(configPR);
 
-       set_irq_chip_and_handler(MIPS_CPU_TIMER_IRQ, &level_irq_type,
+       irq_set_chip_and_handler(MIPS_CPU_TIMER_IRQ, &level_irq_type,
                                 handle_level_irq);
        setup_irq(MIPS_CPU_TIMER_IRQ, &timer_action);
 }
index 6f1c8ef6a719bf3dfee9c9d9866a6ff7015df366..7fb97fb0931e54645c7cc5598450be3b349d11b3 100644 (file)
@@ -112,5 +112,5 @@ void __init asic_irq_init(void)
         * Initialize interrupt handlers.
         */
        for (i = 0; i < NR_IRQS; i++)
-               set_irq_chip_and_handler(i, &asic_irq_chip, handle_level_irq);
+               irq_set_chip_and_handler(i, &asic_irq_chip, handle_level_irq);
 }
index b32a768da894f53e627bae8a450bc2b1ff8b3f56..7c6db74e3fad096831499fef13744d884d03a21a 100644 (file)
@@ -207,8 +207,8 @@ void __init arch_init_irq(void)
        pr_info("Initializing IRQ's: %d out of %d\n", RC32434_NR_IRQS, NR_IRQS);
 
        for (i = 0; i < RC32434_NR_IRQS; i++)
-               set_irq_chip_and_handler(i,  &rc32434_irq_type,
-                                       handle_level_irq);
+               irq_set_chip_and_handler(i, &rc32434_irq_type,
+                                        handle_level_irq);
 }
 
 /* Main Interrupt dispatcher */
index e6e64750e90a40d2932f4b2f64d6b16a2ea21179..476423a01296504ce56b7825d98b600a0b68c82d 100644 (file)
@@ -312,7 +312,7 @@ void __init arch_init_irq(void)
                else
                        handler         = &ip22_local3_irq_type;
 
-               set_irq_chip_and_handler(i, handler, handle_level_irq);
+               irq_set_chip_and_handler(i, handler, handle_level_irq);
        }
 
        /* vector handler. this register the IRQ as non-sharable */
index f2d09d7700dd75b4f3ae6c00cba9638974376d82..11488719dd9747d491765e262956ff9f770d23b0 100644 (file)
@@ -337,7 +337,7 @@ static struct irq_chip bridge_irq_type = {
 
 void __devinit register_bridge_irq(unsigned int irq)
 {
-       set_irq_chip_and_handler(irq, &bridge_irq_type, handle_level_irq);
+       irq_set_chip_and_handler(irq, &bridge_irq_type, handle_level_irq);
 }
 
 int __devinit request_bridge_irq(struct bridge_controller *bc)
index c01f558a2a09142fb06c0ed4a64673b1fff461a3..a152538d3c9744cb27f40a0e18d5a69eeb94c91c 100644 (file)
@@ -153,7 +153,7 @@ static void __init hub_rt_clock_event_global_init(void)
                        panic("Allocation of irq number for timer failed");
        } while (xchg(&rt_timer_irq, irq));
 
-       set_irq_chip_and_handler(irq, &rt_irq_type, handle_percpu_irq);
+       irq_set_chip_and_handler(irq, &rt_irq_type, handle_percpu_irq);
        setup_irq(irq, &hub_rt_irqaction);
 }
 
index e0a3ce4a8d48a550b525b79b26b33b7cb81dbb65..c65ea76d56c78a831b24603522b35207088c9a59 100644 (file)
@@ -451,43 +451,51 @@ void __init arch_init_irq(void)
        for (irq = CRIME_IRQ_BASE; irq <= IP32_IRQ_MAX; irq++) {
                switch (irq) {
                case MACE_VID_IN1_IRQ ... MACE_PCI_BRIDGE_IRQ:
-                       set_irq_chip_and_handler_name(irq,&ip32_mace_interrupt,
-                               handle_level_irq, "level");
+                       irq_set_chip_and_handler_name(irq,
+                                                     &ip32_mace_interrupt,
+                                                     handle_level_irq,
+                                                     "level");
                        break;
 
                case MACEPCI_SCSI0_IRQ ...  MACEPCI_SHARED2_IRQ:
-                       set_irq_chip_and_handler_name(irq,
-                               &ip32_macepci_interrupt, handle_level_irq,
-                               "level");
+                       irq_set_chip_and_handler_name(irq,
+                                                     &ip32_macepci_interrupt,
+                                                     handle_level_irq,
+                                                     "level");
                        break;
 
                case CRIME_CPUERR_IRQ:
                case CRIME_MEMERR_IRQ:
-                       set_irq_chip_and_handler_name(irq,
-                               &crime_level_interrupt, handle_level_irq,
-                               "level");
+                       irq_set_chip_and_handler_name(irq,
+                                                     &crime_level_interrupt,
+                                                     handle_level_irq,
+                                                     "level");
                        break;
 
                case CRIME_GBE0_IRQ ... CRIME_GBE3_IRQ:
                case CRIME_RE_EMPTY_E_IRQ ... CRIME_RE_IDLE_E_IRQ:
                case CRIME_SOFT0_IRQ ... CRIME_SOFT2_IRQ:
                case CRIME_VICE_IRQ:
-                       set_irq_chip_and_handler_name(irq,
-                               &crime_edge_interrupt, handle_edge_irq, "edge");
+                       irq_set_chip_and_handler_name(irq,
+                                                     &crime_edge_interrupt,
+                                                     handle_edge_irq,
+                                                     "edge");
                        break;
 
                case MACEISA_PARALLEL_IRQ:
                case MACEISA_SERIAL1_TDMAPR_IRQ:
                case MACEISA_SERIAL2_TDMAPR_IRQ:
-                       set_irq_chip_and_handler_name(irq,
-                               &ip32_maceisa_edge_interrupt, handle_edge_irq,
-                               "edge");
+                       irq_set_chip_and_handler_name(irq,
+                                                     &ip32_maceisa_edge_interrupt,
+                                                     handle_edge_irq,
+                                                     "edge");
                        break;
 
                default:
-                       set_irq_chip_and_handler_name(irq,
-                               &ip32_maceisa_level_interrupt, handle_level_irq,
-                               "level");
+                       irq_set_chip_and_handler_name(irq,
+                                                     &ip32_maceisa_level_interrupt,
+                                                     handle_level_irq,
+                                                     "level");
                        break;
                }
        }
index 89e8188a466522fdd5675fddcfac18ea5088c8d2..09740d60e18722c9e5de6d565a62aa1dfded4ce3 100644 (file)
@@ -216,7 +216,8 @@ void __init init_bcm1480_irqs(void)
        int i;
 
        for (i = 0; i < BCM1480_NR_IRQS; i++) {
-               set_irq_chip_and_handler(i, &bcm1480_irq_type, handle_level_irq);
+               irq_set_chip_and_handler(i, &bcm1480_irq_type,
+                                        handle_level_irq);
                bcm1480_irq_owner[i] = 0;
        }
 }
index fd269ea8d8a85cbe71ca3b1e0c31e40ecf80f2d3..be4460a5f6a89634aeb589513c91059a773af13d 100644 (file)
@@ -190,7 +190,8 @@ void __init init_sb1250_irqs(void)
        int i;
 
        for (i = 0; i < SB1250_NR_IRQS; i++) {
-               set_irq_chip_and_handler(i, &sb1250_irq_type, handle_level_irq);
+               irq_set_chip_and_handler(i, &sb1250_irq_type,
+                                        handle_level_irq);
                sb1250_irq_owner[i] = 0;
        }
 }
index 72b94155778d51772b447c58e870cc00fc06a1a3..c48194c3073b95a2ccdcee6b1b0947913d996587 100644 (file)
@@ -209,7 +209,7 @@ void __init sni_a20r_irq_init(void)
        int i;
 
        for (i = SNI_A20R_IRQ_BASE + 2 ; i < SNI_A20R_IRQ_BASE + 8; i++)
-               set_irq_chip_and_handler(i, &a20r_irq_type, handle_level_irq);
+               irq_set_chip_and_handler(i, &a20r_irq_type, handle_level_irq);
        sni_hwint = a20r_hwint;
        change_c0_status(ST0_IM, IE_IRQ0);
        setup_irq(SNI_A20R_IRQ_BASE + 3, &sni_isa_irq);
index cfcc68abc5b266dc3f6235f7160b2829cc8289cf..ed3b3d31735815ac1933a289a2673e1b573977ac 100644 (file)
@@ -296,7 +296,7 @@ void __init sni_pcimt_irq_init(void)
        mips_cpu_irq_init();
        /* Actually we've got more interrupts to handle ...  */
        for (i = PCIMT_IRQ_INT2; i <= PCIMT_IRQ_SCSI; i++)
-               set_irq_chip_and_handler(i, &pcimt_irq_type, handle_level_irq);
+               irq_set_chip_and_handler(i, &pcimt_irq_type, handle_level_irq);
        sni_hwint = sni_pcimt_hwint;
        change_c0_status(ST0_IM, IE_IRQ1|IE_IRQ3);
 }
index 0846e99a6efee0f03e5040a28c430f96722a39db..b5246373d16bde19b832d49f2acb02b395ab2622 100644 (file)
@@ -238,7 +238,7 @@ void __init sni_pcit_irq_init(void)
 
        mips_cpu_irq_init();
        for (i = SNI_PCIT_INT_START; i <= SNI_PCIT_INT_END; i++)
-               set_irq_chip_and_handler(i, &pcit_irq_type, handle_level_irq);
+               irq_set_chip_and_handler(i, &pcit_irq_type, handle_level_irq);
        *(volatile u32 *)SNI_PCIT_INT_REG = 0;
        sni_hwint = sni_pcit_hwint;
        change_c0_status(ST0_IM, IE_IRQ1);
@@ -251,7 +251,7 @@ void __init sni_pcit_cplus_irq_init(void)
 
        mips_cpu_irq_init();
        for (i = SNI_PCIT_INT_START; i <= SNI_PCIT_INT_END; i++)
-               set_irq_chip_and_handler(i, &pcit_irq_type, handle_level_irq);
+               irq_set_chip_and_handler(i, &pcit_irq_type, handle_level_irq);
        *(volatile u32 *)SNI_PCIT_INT_REG = 0x40000000;
        sni_hwint = sni_pcit_hwint_cplus;
        change_c0_status(ST0_IM, IE_IRQ0);
index f05d8e593300736afbb096ee4090b775fe6f0a9a..a7e5a6d917b1572c283903729f7f495f3fb334f0 100644 (file)
@@ -413,7 +413,7 @@ void __init sni_rm200_i8259_irqs(void)
        sni_rm200_init_8259A();
 
        for (i = RM200_I8259A_IRQ_BASE; i < RM200_I8259A_IRQ_BASE + 16; i++)
-               set_irq_chip_and_handler(i, &sni_rm200_i8259A_chip,
+               irq_set_chip_and_handler(i, &sni_rm200_i8259A_chip,
                                         handle_level_irq);
 
        setup_irq(RM200_I8259A_IRQ_BASE + PIC_CASCADE_IR, &sni_rm200_irq2);
@@ -477,7 +477,7 @@ void __init sni_rm200_irq_init(void)
        mips_cpu_irq_init();
        /* Actually we've got more interrupts to handle ...  */
        for (i = SNI_RM200_INT_START; i <= SNI_RM200_INT_END; i++)
-               set_irq_chip_and_handler(i, &rm200_irq_type, handle_level_irq);
+               irq_set_chip_and_handler(i, &rm200_irq_type, handle_level_irq);
        sni_hwint = sni_rm200_hwint;
        change_c0_status(ST0_IM, IE_IRQ0);
        setup_irq(SNI_RM200_INT_START + 0, &sni_rm200_i8259A_irq);
index e1828e8bcaefedd4449cb0b96806c50708b343ed..7e3ac5782da433003a3d8d59f0ef4f1d8e43a5fe 100644 (file)
@@ -35,7 +35,7 @@ void __init tx4927_irq_init(void)
 
        mips_cpu_irq_init();
        txx9_irq_init(TX4927_IRC_REG & 0xfffffffffULL);
-       set_irq_chained_handler(MIPS_CPU_IRQ_BASE + TX4927_IRC_INT,
+       irq_set_chained_handler(MIPS_CPU_IRQ_BASE + TX4927_IRC_INT,
                                handle_simple_irq);
        /* raise priority for errors, timers, SIO */
        txx9_irq_set_pri(TX4927_IR_ECCERR, 7);
index a6e6e805097a80be53edf7501f2ead464ae8f023..aace856533296e9ceb13330d5b0fa60725c402da 100644 (file)
@@ -23,7 +23,7 @@ void __init tx4938_irq_init(void)
 
        mips_cpu_irq_init();
        txx9_irq_init(TX4938_IRC_REG & 0xfffffffffULL);
-       set_irq_chained_handler(MIPS_CPU_IRQ_BASE + TX4938_IRC_INT,
+       irq_set_chained_handler(MIPS_CPU_IRQ_BASE + TX4938_IRC_INT,
                                handle_simple_irq);
        /* raise priority for errors, timers, SIO */
        txx9_irq_set_pri(TX4938_IR_ECCERR, 7);
index 93b6edbedd64bd7645c5ad7c9a390f6d350d434d..6b067dbd2ae1bc5d5e2d1a45cd81c380745b4ff7 100644 (file)
@@ -176,8 +176,8 @@ void __init tx4939_irq_init(void)
        for (i = 1; i < TX4939_NUM_IR; i++) {
                tx4939irq[i].level = 4; /* middle level */
                tx4939irq[i].mode = TXx9_IRCR_LOW;
-               set_irq_chip_and_handler(TXX9_IRQ_BASE + i,
-                                        &tx4939_irq_chip, handle_level_irq);
+               irq_set_chip_and_handler(TXX9_IRQ_BASE + i, &tx4939_irq_chip,
+                                        handle_level_irq);
        }
 
        /* mask all IRC interrupts */
@@ -193,7 +193,7 @@ void __init tx4939_irq_init(void)
        __raw_writel(TXx9_IRCER_ICE, &tx4939_ircptr->den.r);
        __raw_writel(irc_elevel, &tx4939_ircptr->msk.r);
 
-       set_irq_chained_handler(MIPS_CPU_IRQ_BASE + TX4939_IRC_INT,
+       irq_set_chained_handler(MIPS_CPU_IRQ_BASE + TX4939_IRC_INT,
                                handle_simple_irq);
 
        /* raise priority for errors, timers, sio */
index 92a5c1b400f061d6dcc4a7917c2cead1ceb494e8..c22c859a2c4987e77e8bafe2b9c64443fc890cce 100644 (file)
@@ -120,8 +120,9 @@ void __init jmr3927_irq_setup(void)
 
        tx3927_irq_init();
        for (i = JMR3927_IRQ_IOC; i < JMR3927_IRQ_IOC + JMR3927_NR_IRQ_IOC; i++)
-               set_irq_chip_and_handler(i, &jmr3927_irq_ioc, handle_level_irq);
+               irq_set_chip_and_handler(i, &jmr3927_irq_ioc,
+                                        handle_level_irq);
 
        /* setup IOC interrupt 1 (PCI, MODEM) */
-       set_irq_chained_handler(JMR3927_IRQ_IOCINT, handle_simple_irq);
+       irq_set_chained_handler(JMR3927_IRQ_IOCINT, handle_simple_irq);
 }
index 7c0a048b307ca15f3cabd83207e7d8cf95fcea79..6c22c496090b10ae249e90664dc7d1ad70350cf6 100644 (file)
@@ -164,9 +164,9 @@ static void __init toshiba_rbtx4927_irq_ioc_init(void)
 
        for (i = RBTX4927_IRQ_IOC;
             i < RBTX4927_IRQ_IOC + RBTX4927_NR_IRQ_IOC; i++)
-               set_irq_chip_and_handler(i, &toshiba_rbtx4927_irq_ioc_type,
+               irq_set_chip_and_handler(i, &toshiba_rbtx4927_irq_ioc_type,
                                         handle_level_irq);
-       set_irq_chained_handler(RBTX4927_IRQ_IOCINT, handle_simple_irq);
+       irq_set_chained_handler(RBTX4927_IRQ_IOCINT, handle_simple_irq);
 }
 
 static int rbtx4927_irq_dispatch(int pending)
@@ -194,5 +194,5 @@ void __init rbtx4927_irq_setup(void)
        tx4927_irq_init();
        toshiba_rbtx4927_irq_ioc_init();
        /* Onboard 10M Ether: High Active */
-       set_irq_type(RBTX4927_RTL_8019_IRQ, IRQF_TRIGGER_HIGH);
+       irq_set_irq_type(RBTX4927_RTL_8019_IRQ, IRQF_TRIGGER_HIGH);
 }
index 2ec4fe1b167071d3e5c8eca38616ce68b1b66768..58cd7a9272cc14f0a9a1243dc799c7db294198ba 100644 (file)
@@ -132,10 +132,10 @@ static void __init toshiba_rbtx4938_irq_ioc_init(void)
 
        for (i = RBTX4938_IRQ_IOC;
             i < RBTX4938_IRQ_IOC + RBTX4938_NR_IRQ_IOC; i++)
-               set_irq_chip_and_handler(i, &toshiba_rbtx4938_irq_ioc_type,
+               irq_set_chip_and_handler(i, &toshiba_rbtx4938_irq_ioc_type,
                                         handle_level_irq);
 
-       set_irq_chained_handler(RBTX4938_IRQ_IOCINT, handle_simple_irq);
+       irq_set_chained_handler(RBTX4938_IRQ_IOCINT, handle_simple_irq);
 }
 
 void __init rbtx4938_irq_setup(void)
@@ -153,5 +153,5 @@ void __init rbtx4938_irq_setup(void)
        tx4938_irq_init();
        toshiba_rbtx4938_irq_ioc_init();
        /* Onboard 10M Ether: High Active */
-       set_irq_type(RBTX4938_IRQ_ETHER, IRQF_TRIGGER_HIGH);
+       irq_set_irq_type(RBTX4938_IRQ_ETHER, IRQF_TRIGGER_HIGH);
 }
index 70074632fb990f6a6a6f7f133afdebdbd04517ef..69a80616f0c993ff982652240a32f2933f487cc1 100644 (file)
@@ -88,8 +88,8 @@ void __init rbtx4939_irq_setup(void)
        tx4939_irq_init();
        for (i = RBTX4939_IRQ_IOC;
             i < RBTX4939_IRQ_IOC + RBTX4939_NR_IRQ_IOC; i++)
-               set_irq_chip_and_handler(i, &rbtx4939_ioc_irq_chip,
+               irq_set_chip_and_handler(i, &rbtx4939_ioc_irq_chip,
                                         handle_level_irq);
 
-       set_irq_chained_handler(RBTX4939_IRQ_IOCINT, handle_simple_irq);
+       irq_set_chained_handler(RBTX4939_IRQ_IOCINT, handle_simple_irq);
 }
index f53156bb9aa8c5815432d779e15fdfe28a9c2225..a39ef3207d7148d96351e7ea23cb385bbdd8f05f 100644 (file)
@@ -710,11 +710,11 @@ static int __init vr41xx_icu_init(void)
        icu2_write(MGIUINTHREG, 0xffff);
 
        for (i = SYSINT1_IRQ_BASE; i <= SYSINT1_IRQ_LAST; i++)
-               set_irq_chip_and_handler(i, &sysint1_irq_type,
+               irq_set_chip_and_handler(i, &sysint1_irq_type,
                                         handle_level_irq);
 
        for (i = SYSINT2_IRQ_BASE; i <= SYSINT2_IRQ_LAST; i++)
-               set_irq_chip_and_handler(i, &sysint2_irq_type,
+               irq_set_chip_and_handler(i, &sysint2_irq_type,
                                         handle_level_irq);
 
        cascade_irq(INT0_IRQ, icu_get_irq);