summaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2008-02-25 06:50:20 +0100
committerBryan Wu <cooloney@kernel.org>2008-02-25 06:50:20 +0100
commit464abc5de6ea8f4af1c1246e0d1ea7b07362db43 (patch)
tree240ad94cba9a8482756fd0b4059497afc353e1a2 /include/asm-blackfin
parent[Blackfin] arch: fix bug - linux-2.6.24 (delayed) disable IRQ feature not fun... (diff)
downloadlinux-464abc5de6ea8f4af1c1246e0d1ea7b07362db43.tar.xz
linux-464abc5de6ea8f4af1c1246e0d1ea7b07362db43.zip
[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')
-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 65480dab244e..86b67834354d 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_ */