MIPS: Add missing #inclusions of <linux/irq.h>
authorDavid Howells <dhowells@redhat.com>
Thu, 7 Oct 2010 13:08:54 +0000 (14:08 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 7 Oct 2010 13:08:54 +0000 (14:08 +0100)
Add missing #inclusions of <linux/irq.h> to a whole bunch of files that should
really include it.  Note that this can replace #inclusions of <asm/irq.h>.

This is required for the patch to sort out irqflags handling function naming to
compile on MIPS.

The problem is that these files require access to things like setup_irq() -
which isn't available by #including <linux/interrupt.h>

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
45 files changed:
arch/mips/alchemy/devboards/bcsr.c
arch/mips/ar7/irq.c
arch/mips/bcm63xx/irq.c
arch/mips/cavium-octeon/serial.c
arch/mips/dec/setup.c
arch/mips/include/asm/mach-loongson/loongson.h
arch/mips/jazz/irq.c
arch/mips/kernel/cevt-bcm1480.c
arch/mips/kernel/cevt-ds1287.c
arch/mips/kernel/cevt-gt641xx.c
arch/mips/kernel/cevt-r4k.c
arch/mips/kernel/cevt-sb1250.c
arch/mips/kernel/cevt-smtc.c
arch/mips/kernel/cevt-txx9.c
arch/mips/kernel/i8253.c
arch/mips/kernel/i8259.c
arch/mips/kernel/irq-gic.c
arch/mips/kernel/irq-rm7000.c
arch/mips/kernel/irq-rm9000.c
arch/mips/kernel/irq_cpu.c
arch/mips/kernel/irq_txx9.c
arch/mips/kernel/traps.c
arch/mips/mti-malta/malta-platform.c
arch/mips/pci/ops-tx3927.c
arch/mips/pci/ops-tx4927.c
arch/mips/pmc-sierra/msp71xx/msp_irq_cic.c
arch/mips/powertv/asic/irq_asic.c
arch/mips/rb532/serial.c
arch/mips/sni/a20r.c
arch/mips/sni/pcimt.c
arch/mips/sni/pcit.c
arch/mips/sni/rm200.c
arch/mips/sni/time.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/generic/setup.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/irq.c
arch/mips/vr41xx/common/siu.c
drivers/vlynq/vlynq.c
drivers/watchdog/octeon-wdt-main.c

index 3bc4fd2155d70303a439f2004a6407ec92888b6e..c52af8821da071f5fe49117ddb6f7f2652756c00 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/interrupt.h>
 #include <linux/module.h>
 #include <linux/spinlock.h>
+#include <linux/irq.h>
 #include <asm/addrspace.h>
 #include <asm/io.h>
 #include <asm/mach-db1x00/bcsr.h>
index c781556c44e46cea3c51a84d149e1b3d68f6c8b8..4ec2642c568fb18ce58c6eb277f58b7fb55772d9 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <linux/interrupt.h>
 #include <linux/io.h>
+#include <linux/irq.h>
 
 #include <asm/irq_cpu.h>
 #include <asm/mipsregs.h>
index a0c5cd18c192a4aef91634b58ca851576cd2b4c6..3be87f2422f0357ddd16411c4fa0d406dc21cbe1 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/module.h>
+#include <linux/irq.h>
 #include <asm/irq_cpu.h>
 #include <asm/mipsregs.h>
 #include <bcm63xx_cpu.h>
index 638adab028428002186bb83c589b553a0c40545b..12dbf533b77dc2da263c4e0bfe9e4c2fa86c51d8 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/serial_8250.h>
 #include <linux/serial_reg.h>
 #include <linux/tty.h>
+#include <linux/irq.h>
 
 #include <asm/time.h>
 
index bd5431e1f4085fbfbcd2dfadc5097395828a4fae..fa45e924be05b9e40cf9d23b5a6a866034dfb8f3 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/spinlock.h>
 #include <linux/types.h>
 #include <linux/pm.h>
+#include <linux/irq.h>
 
 #include <asm/bootinfo.h>
 #include <asm/cpu.h>
index cb6985f24303668e661c0373b39e0f08a5d898f5..1e29b9dd1d7395752d401fca112b2f1f528357c8 100644 (file)
@@ -13,6 +13,7 @@
 
 #include <linux/io.h>
 #include <linux/init.h>
+#include <linux/irq.h>
 
 /* loongson internal northbridge initialization */
 extern void bonito_irq_init(void);
index ee18028efe9222ba4c4c9fa54fa37296d3800055..35b3e2f0af04899ee159d59129203e445cfb6e49 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/kernel.h>
 #include <linux/smp.h>
 #include <linux/spinlock.h>
+#include <linux/irq.h>
 
 #include <asm/irq_cpu.h>
 #include <asm/i8253.h>
index bfea327c636c1e635089f19846f14303d7d5911b..36c3898b76dbb01182184744fec80056c1132cd8 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/interrupt.h>
 #include <linux/percpu.h>
 #include <linux/smp.h>
+#include <linux/irq.h>
 
 #include <asm/addrspace.h>
 #include <asm/io.h>
index 00a4da277cbbef1b94b6d0f767973fb19d3c676c..939157e397b940fd811d348997840c9dc34a0a0b 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/mc146818rtc.h>
+#include <linux/irq.h>
 
 #include <asm/time.h>
 
index 392ef3756c56e0692d46e38cf5647b4f24bac951..339f3639b90e463d41931b7b127c3173e74297af 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/spinlock.h>
+#include <linux/irq.h>
 
 #include <asm/gt64120.h>
 #include <asm/time.h>
index 2a4d50ff5e2c17e8ad56e86593e48b70f29ee4df..2f4d7a99bcc2fcc91b3838599b0b0c3d4fb1c432 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/interrupt.h>
 #include <linux/percpu.h>
 #include <linux/smp.h>
+#include <linux/irq.h>
 
 #include <asm/smtc_ipi.h>
 #include <asm/time.h>
index da78eeaea6e81a5d6fc7516ed4dcb04195d143a2..590c54f28a81772f961b2513fef1147d4d581f62 100644 (file)
@@ -17,6 +17,7 @@
  */
 #include <linux/clockchips.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 #include <linux/percpu.h>
 #include <linux/smp.h>
 
index b102e4f1630eaa8e021b4c61b0b959f646f2bb81..2e72d30b2f05a9b2b0d1a40dd90699c658925d5b 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/interrupt.h>
 #include <linux/percpu.h>
 #include <linux/smp.h>
+#include <linux/irq.h>
 
 #include <asm/smtc_ipi.h>
 #include <asm/time.h>
index 218ee6bda9353822e010b5ba8d521b96a05991b9..0b7377361e22fa8b3d76afc335344c35613cac59 100644 (file)
@@ -13,6 +13,7 @@
  */
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 #include <asm/time.h>
 #include <asm/txx9tmr.h>
 
index 94794062a1777814c03428b27576796fe3f2a7a7..2392a7a296d41d4585fc406948ed58d4f83443f9 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/module.h>
 #include <linux/smp.h>
 #include <linux/spinlock.h>
+#include <linux/irq.h>
 
 #include <asm/delay.h>
 #include <asm/i8253.h>
index 27799113332cfa9c952d7402164201c3acf057c3..c58176cc796baa0c03d6d86597ab5252478f4e65 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/kernel.h>
 #include <linux/spinlock.h>
 #include <linux/sysdev.h>
+#include <linux/irq.h>
 
 #include <asm/i8259.h>
 #include <asm/io.h>
index 82ba9f62f49e3b2faa98abc1f6da2fe1e062a4ed..1774271af848b7cca4dc2ab2da0578c7f38a6e13 100644 (file)
@@ -3,11 +3,11 @@
 #include <linux/bitmap.h>
 #include <linux/init.h>
 #include <linux/smp.h>
+#include <linux/irq.h>
 
 #include <asm/io.h>
 #include <asm/gic.h>
 #include <asm/gcmpregs.h>
-#include <asm/irq.h>
 #include <linux/hardirq.h>
 #include <asm-generic/bitops/find.h>
 
index fb50cc78b28b45cf36ffddb8fa4add2a734d5fa1..9731e8b47862f221124b8ed84df2a66a8c704cd5 100644 (file)
@@ -11,6 +11,7 @@
  */
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 #include <linux/kernel.h>
 
 #include <asm/irq_cpu.h>
index b47e4615ec126980ca5cb457a67bd7244b2135f5..b7e4025b58a83d940080154b3edb76f3807c9e09 100644 (file)
@@ -11,6 +11,7 @@
  */
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
 
index 55c8a3ca507b2800fab0406d81d0844c660a7c04..0262abe09121954b47e40a2b0b4c6f21ff1feb37 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/kernel.h>
+#include <linux/irq.h>
 
 #include <asm/irq_cpu.h>
 #include <asm/mipsregs.h>
index 9b78029bea7026f237a337f981f0dd98c90661b5..95a96f69172d6d111a492e120c2af18adc364196 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/types.h>
+#include <linux/irq.h>
 #include <asm/txx9irq.h>
 
 struct txx9_irc_reg {
index 03ec0019032bc50ebbc9435cdec3c71eeaa9ac70..d053bf4759e417071760634656083151358ef23c 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/kprobes.h>
 #include <linux/notifier.h>
 #include <linux/kdb.h>
+#include <linux/irq.h>
 
 #include <asm/bootinfo.h>
 #include <asm/branch.h>
@@ -51,7 +52,6 @@
 #include <asm/mmu_context.h>
 #include <asm/types.h>
 #include <asm/stacktrace.h>
-#include <asm/irq.h>
 #include <asm/uasm.h>
 
 extern void check_wait(void);
index 72e32a7715beff770347237d6944472184853cf4..4c35301720e76c04aad4eade1d88310c107ba6fd 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/serial_8250.h>
 #include <linux/mc146818rtc.h>
 #include <linux/module.h>
+#include <linux/irq.h>
 #include <linux/mtd/partitions.h>
 #include <linux/mtd/physmap.h>
 #include <linux/platform_device.h>
index 31c15019659544a55f81f2675abf25f7a085640e..6a3bdb5ffa8074e5ba3e978d6989115857e17e5b 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 
 #include <asm/addrspace.h>
 #include <asm/txx9irq.h>
index 5989e747527f2e4e67f591b93a1f4eb2f16652f3..a1e7e6d80c8c718e9b532e5ccb8ff0e7bac9e164 100644 (file)
@@ -17,6 +17,7 @@
  */
 #include <linux/kernel.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 #include <asm/txx9/pci.h>
 #include <asm/txx9/tx4927pcic.h>
 
index 94c9c2c9fbc1d650897ac14eec91d68377c8ac5e..07e71ff2433f642428462d405c0f843d3928fd6b 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/interrupt.h>
 #include <linux/kernel.h>
 #include <linux/bitops.h>
+#include <linux/irq.h>
 
 #include <asm/system.h>
 
index b54d24499b062d31fc5e04cd8f18f0a417532043..e5538243415576d121b1400aceadc726c6a7fec8 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/kernel.h>
+#include <linux/irq.h>
 
 #include <asm/irq_cpu.h>
 #include <asm/mipsregs.h>
index 00ed19f0bdb56e4a9045ba7e2f7388562978d6a4..70482540b3dbc7edf469be8e14beb7e37a1f5f68 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/tty.h>
 #include <linux/serial_core.h>
 #include <linux/serial_8250.h>
+#include <linux/irq.h>
 
 #include <asm/serial.h>
 #include <asm/mach-rc32434/rb.h>
index e6980892834aae7a00865172e2303c67732bc86b..bbe7187879fa9bb5c493f215ba1ef8f8f81cc695 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 #include <linux/platform_device.h>
 #include <linux/serial_8250.h>
 
index 51e62bbaa23bb2440fa671fc22fe57930690aea6..8c92c73bc717db178bcdbce74788f30fe1b193b5 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 #include <linux/pci.h>
 #include <linux/serial_8250.h>
 
index f4699d35858b70820f638d053dac36be73f4da5c..dc9874553becbf62abc5dce1135e9a7444f43d88 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 #include <linux/pci.h>
 #include <linux/serial_8250.h>
 
index 90c558f7c0fa91b18df793a903cf8296fffc12fa..0e6f42c2bbc86c69117bd90bef5c22456f8c01ac 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/delay.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 #include <linux/platform_device.h>
 #include <linux/serial_8250.h>
 #include <linux/io.h>
index f3b60e671207bea19676fd1c0cca9a4a38180ccb..c76151b56568ee241e345fe779d3454df0179add 100644 (file)
@@ -1,5 +1,6 @@
 #include <linux/types.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 #include <linux/smp.h>
 #include <linux/time.h>
 #include <linux/clockchips.h>
index ad2870def8f1f7e1697205cfe2094f6a988ab7e8..e1828e8bcaefedd4449cb0b96806c50708b343ed 100644 (file)
@@ -25,6 +25,7 @@
  */
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 #include <asm/irq_cpu.h>
 #include <asm/txx9/tx4927.h>
 
index 025ae11359a8183cadd81f1418127b45b215c395..a6e6e805097a80be53edf7501f2ead464ae8f023 100644 (file)
@@ -13,6 +13,7 @@
  */
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 #include <asm/irq_cpu.h>
 #include <asm/txx9/tx4938.h>
 
index 013213a8706b61d7c2f7d806b0b98ffb3637fdb3..3886ad77cbadd21a1ed1a97ffea7482ea083d88a 100644 (file)
@@ -19,6 +19,7 @@
  */
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 #include <linux/types.h>
 #include <asm/irq_cpu.h>
 #include <asm/txx9irq.h>
index 575d219b80014fea3e74cfef9865769251b79635..812816c456620f86fce6ba670d2f6352df7f9b6d 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/leds.h>
 #include <linux/sysdev.h>
 #include <linux/slab.h>
+#include <linux/irq.h>
 #include <asm/bootinfo.h>
 #include <asm/time.h>
 #include <asm/reboot.h>
index 6ec626c9473fd4014a5c31919347d51aed407810..0a7f8e3b9fd796b7fe384d39772aef124231f40e 100644 (file)
@@ -32,6 +32,7 @@
 #include <linux/init.h>
 #include <linux/types.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 
 #include <asm/io.h>
 #include <asm/mipsregs.h>
index 9c14ebb26cb4caf63f7448b02b83ad4e435f2332..c4b54d20efd3c67fc279ef8d6cfbe2099bc0b62a 100644 (file)
 #include <linux/init.h>
 #include <linux/types.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 #include <asm/io.h>
 #include <asm/mipsregs.h>
 #include <asm/txx9/generic.h>
index 7d21befb8932c5ba36df028cb74b1c66e61c652d..67a73a8065ec800e00ebb753f612195434f5189b 100644 (file)
@@ -64,6 +64,7 @@
  */
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 #include <asm/mipsregs.h>
 #include <asm/txx9/generic.h>
 #include <asm/txx9/rbtx4938.h>
index 500cc0a908e6b8876e529c161d2cf1eee6f18f69..57fa740a72056b65ecd0f08e55fb23fe434083e7 100644 (file)
@@ -11,6 +11,7 @@
  */
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/irq.h>
 #include <asm/mipsregs.h>
 #include <asm/txx9/rbtx4939.h>
 
index bef06872f012d6ecb055aafeae92d9ed6f962135..0975eb72d385e189af3f26895eeb689ab3d950c3 100644 (file)
@@ -19,6 +19,7 @@
  */
 #include <linux/interrupt.h>
 #include <linux/module.h>
+#include <linux/irq.h>
 
 #include <asm/irq_cpu.h>
 #include <asm/system.h>
index 54eae56108fb94db06a5add150e8baad4ef5dbfe..bbd45d2559d63b4b1c23da18bdbc0ceb8dc655a9 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/ioport.h>
 #include <linux/platform_device.h>
 #include <linux/serial_core.h>
+#include <linux/irq.h>
 
 #include <asm/cpu.h>
 #include <asm/vr41xx/siu.h>
index f2d9e667972da120d3c39ab87965566fe5c13506..f885c868a04de186fe917bc01db66d55b2c846fd 100644 (file)
@@ -31,6 +31,7 @@
 #include <linux/delay.h>
 #include <linux/io.h>
 #include <linux/slab.h>
+#include <linux/irq.h>
 
 #include <linux/vlynq.h>
 
index 2a410170eca67c93b5472fdfa4c419c3bba2f58e..909923800a02291bee821038ca3b62f6eb0a1ea8 100644 (file)
@@ -64,6 +64,7 @@
 #include <linux/cpu.h>
 #include <linux/smp.h>
 #include <linux/fs.h>
+#include <linux/irq.h>
 
 #include <asm/mipsregs.h>
 #include <asm/uasm.h>