summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mach-bcm63xx/irq.h
diff options
context:
space:
mode:
authorMaxime Bizon <mbizon@freebox.fr>2011-11-04 19:09:32 +0100
committerRalf Baechle <ralf@linux-mips.org>2011-12-07 22:03:03 +0000
commit37c42a741f6c2c76dc5e61650e5d66dd20540aaf (patch)
tree7e36523bbbc016e4606966ef45ba006999b93cc2 /arch/mips/include/asm/mach-bcm63xx/irq.h
parentf61cced99347783c1f3a7464e88b855a5ca6c227 (diff)
MIPS: BCM63XX: Prepare irq code to handle different external irq hardware implementation.
External irq only works for 6348, change code to prepare support of other CPUs. Signed-off-by: Maxime Bizon <mbizon@freebox.fr> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2895/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-bcm63xx/irq.h')
-rw-r--r--arch/mips/include/asm/mach-bcm63xx/irq.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-bcm63xx/irq.h b/arch/mips/include/asm/mach-bcm63xx/irq.h
new file mode 100644
index 000000000000..9332e788a5c9
--- /dev/null
+++ b/arch/mips/include/asm/mach-bcm63xx/irq.h
@@ -0,0 +1,7 @@
+#ifndef __ASM_MACH_BCM63XX_IRQ_H
+#define __ASM_MACH_BCM63XX_IRQ_H
+
+#define NR_IRQS 128
+#define MIPS_CPU_IRQ_BASE 0
+
+#endif