diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2008-02-25 08:50:20 +0300 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-02-25 08:50:20 +0300 |
commit | 464abc5de6ea8f4af1c1246e0d1ea7b07362db43 (patch) | |
tree | 240ad94cba9a8482756fd0b4059497afc353e1a2 /include | |
parent | ce3b7bb61c120e1e4e70e892ec281ef2bb81d6fa (diff) | |
download | linux-464abc5de6ea8f4af1c1246e0d1ea7b07362db43.tar.xz |
[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')
-rw-r--r-- | include/asm-blackfin/irq.h | 2 |
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_ */ |