summaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-blackfin/irq.h')
-rw-r--r--include/asm-blackfin/irq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-blackfin/irq.h b/include/asm-blackfin/irq.h
index 65480da..86b6783 100644
--- a/include/asm-blackfin/irq.h
+++ b/include/asm-blackfin/irq.h
@@ -67,4 +67,6 @@ static __inline__ int irq_canonicalize(int irq)
#define NO_IRQ ((unsigned int)(-1))
#endif
+#define SIC_SYSIRQ(irq) (irq - (IRQ_CORETMR + 1))
+
#endif /* _BFIN_IRQ_H_ */
OpenPOWER on IntegriCloud