summaryrefslogtreecommitdiff
path: root/arch/arc/include/asm/irq.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2016-03-30 16:05:28 +0300
committerVineet Gupta <vgupta@synopsys.com>2016-05-09 07:02:30 +0300
commit88555cc584d93e658722f090d3f8fb84d5fa15a5 (patch)
treecf083a71fd4d4ab304e10843d058e004bd1cd140 /arch/arc/include/asm/irq.h
parente608b53ea863a92eb458cb1ec7c2fcf3ca2b043a (diff)
downloadlinux-88555cc584d93e658722f090d3f8fb84d5fa15a5.tar.xz
ARC: irq: export some IRQs again
This will be needed for switching to linear irq domain as irq_create_mapping() called by intr code needs the IRQ numbers in addition to existing usage in mcip.c for requesting the irq Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm/irq.h')
-rw-r--r--arch/arc/include/asm/irq.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arc/include/asm/irq.h b/arch/arc/include/asm/irq.h
index a6ac89dc228f..c0fa0d2de400 100644
--- a/arch/arc/include/asm/irq.h
+++ b/arch/arc/include/asm/irq.h
@@ -12,6 +12,12 @@
#define NR_CPU_IRQS 32 /* number of interrupt lines of ARC770 CPU */
#define NR_IRQS 128 /* allow some CPU external IRQ handling */
+/* Platform Independent IRQs */
+#ifdef CONFIG_ISA_ARCV2
+#define IPI_IRQ 19
+#define SOFTIRQ_IRQ 21
+#endif
+
#include <linux/interrupt.h>
#include <asm-generic/irq.h>