Skip to content

Commit

Permalink
ARC: irq: export some IRQs again
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vineet Gupta committed May 9, 2016
1 parent e608b53 commit 88555cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 6 additions & 0 deletions arch/arc/include/asm/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
3 changes: 0 additions & 3 deletions arch/arc/kernel/mcip.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 88555cc

Please sign in to comment.