summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/mach-sead3/irq.h
diff options
context:
space:
mode:
authorJeffrey Deans <jeffrey.deans@imgtec.com>2014-07-17 09:20:54 +0100
committerRalf Baechle <ralf@linux-mips.org>2014-08-02 00:06:40 +0200
commitc975048165a973dc5b0aef76514045b69062db41 (patch)
tree3d0ec03da2030a523f50908676adeb5640ceb2d5 /arch/mips/include/asm/mach-sead3/irq.h
parent822350bc90c5069e9ab39f8720e2ef06af736124 (diff)
downloadblackbird-op-linux-c975048165a973dc5b0aef76514045b69062db41.tar.gz
blackbird-op-linux-c975048165a973dc5b0aef76514045b69062db41.zip
MIPS: GIC: Move GIC_NUM_INTRS into platform irq.h
The value of GIC_NUM_INTRS is platform-specific. Using a default value from gic.h will result in incorrect behaviour on some systems, so require a suitable definition to be present in the platform's irq.h. Signed-off-by: Jeffrey Deans <jeffrey.deans@imgtec.com> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/7373/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-sead3/irq.h')
-rw-r--r--arch/mips/include/asm/mach-sead3/irq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-sead3/irq.h b/arch/mips/include/asm/mach-sead3/irq.h
index 5d154cfbcf4c..d8106f75b9af 100644
--- a/arch/mips/include/asm/mach-sead3/irq.h
+++ b/arch/mips/include/asm/mach-sead3/irq.h
@@ -1,6 +1,7 @@
#ifndef __ASM_MACH_MIPS_IRQ_H
#define __ASM_MACH_MIPS_IRQ_H
+#define GIC_NUM_INTRS (24 + NR_CPUS * 2)
#define NR_IRQS 256
OpenPOWER on IntegriCloud