diff options
| author | Deepak Saxena <dsaxena@net.rmk.(none)> | 2004-12-31 00:20:31 +0000 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2004-12-31 00:20:31 +0000 |
| commit | 9aaa9ef8c5a5469e6543bee4ccb5088069b2245a (patch) | |
| tree | ef7a401f1a55648fab276d7ddd7dbcf214848acd /include | |
| parent | b59db34f570a3293f02ba47e29e7847f6d27ffa1 (diff) | |
[ARM PATCH] 2339/1: Don't mask IRQ_STATUS with IXP2000_VALID_IRQ_MASK
Patch from Deepak Saxena
Supersedes 2226/1
According to the IXP Programmer's Reference Manual, a read from
IRQ_STATUS can only return '1' for IRQ sources that have been
explicitly enabled in IRQ_ENABLE. So if we never enable 'invalid'
IRQ sources, we don't actually have to mask off IRQ_STATUS with
IXP2000_VALID_IRQ_MASK.
Signed-off-by: Deepak Saxena
Signed-off-by: Russell King
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-arm/arch-ixp2000/entry-macro.S | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-arm/arch-ixp2000/entry-macro.S b/include/asm-arm/arch-ixp2000/entry-macro.S index bc03b72bc984..44db57c79c89 100644 --- a/include/asm-arm/arch-ixp2000/entry-macro.S +++ b/include/asm-arm/arch-ixp2000/entry-macro.S @@ -19,11 +19,6 @@ orr \base, \base, #0x0000a000 orr \base, \base, #0x08 ldr \irqstat, [\base] @ get interrupts - mov \tmp, #IXP2000_VALID_IRQ_MASK & 0xff000000 - orr \tmp, \tmp, #IXP2000_VALID_IRQ_MASK & 0x00ff0000 - orr \tmp, \tmp, #IXP2000_VALID_IRQ_MASK & 0x0000ff00 - orr \tmp, \tmp, #IXP2000_VALID_IRQ_MASK & 0x000000ff - and \irqstat, \irqstat, \tmp cmp \irqstat, #0 beq 1001f |
