summaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin/irq.h
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2008-02-25 13:50:20 +0800
committerBryan Wu <cooloney@kernel.org>2008-02-25 13:50:20 +0800
commit464abc5de6ea8f4af1c1246e0d1ea7b07362db43 (patch)
tree240ad94cba9a8482756fd0b4059497afc353e1a2 /include/asm-blackfin/irq.h
parentce3b7bb61c120e1e4e70e892ec281ef2bb81d6fa (diff)
[Blackfin] arch: Cleanup abd Simplify:
- Simplify init_arch_irq - Make code more readable - Remove useless SSYNCs - Fix comments Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
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 65480dab244..86b67834354 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_ */