ARC: irq: export some IRQs again
authorVineet Gupta <vgupta@synopsys.com>
Wed, 30 Mar 2016 13:05:28 +0000 (18:35 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 9 May 2016 04:02:30 +0000 (09:32 +0530)
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>
arch/arc/include/asm/irq.h
arch/arc/kernel/mcip.c

index a6ac89d..c0fa0d2 100644 (file)
 #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>
 
index 262d9c3..72f9179 100644 (file)
@@ -15,9 +15,6 @@
 #include <asm/mcip.h>
 #include <asm/setup.h>
 
-#define IPI_IRQ                19
-#define SOFTIRQ_IRQ    21
-
 static char smp_cpuinfo_buf[128];
 static int idu_detected;