ARCv2: intc: Use runtime value of irq count for setting up intc

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
This commit is contained in:
Vineet Gupta
2017-02-01 09:44:33 -08:00
parent f33b8cddc8
commit 179cf194e6
2 changed files with 18 additions and 11 deletions

View File

@@ -21,6 +21,7 @@
#ifdef CONFIG_ISA_ARCV2
#define IPI_IRQ 19
#define SOFTIRQ_IRQ 21
#define FIRST_EXT_IRQ 24
#endif
#include <linux/interrupt.h>