diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2001-05-18 22:13:23 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2001-05-18 22:13:23 +0000 |
commit | 04a4a0b7c6ab2c36e0cf645a42dca0cce0fa281e (patch) | |
tree | 6c2d781676e4066eea8050160431ef67ca3f11de /arch/mips/au1000/common/int-handler.S | |
parent | a99f258ce7f325455fd36fc38cfa28de704ade17 (diff) |
Move Alchemy board to the new interrupt handling plus various other
cleanup. Patch from Pete Popov.
Diffstat (limited to 'arch/mips/au1000/common/int-handler.S')
-rw-r--r-- | arch/mips/au1000/common/int-handler.S | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/mips/au1000/common/int-handler.S b/arch/mips/au1000/common/int-handler.S index c7c933036..7cb017784 100644 --- a/arch/mips/au1000/common/int-handler.S +++ b/arch/mips/au1000/common/int-handler.S @@ -40,27 +40,28 @@ NESTED(au1000_IRQ, PT_SIZE, sp) 1: andi a0, t0, CAUSEF_IP2 # Interrupt Controller 0, Request 0 -/* beq a0, zero, 2f */ + beq a0, zero, 2f move a0,sp jal intc0_req0_irqdispatch - j done + j ret_from_irq 2: andi a0, t0, CAUSEF_IP3 # Interrupt Controller 0, Request 1 beq a0, zero, 3f move a0,sp jal intc0_req1_irqdispatch - j done + j ret_from_irq 3: andi a0, t0, CAUSEF_IP4 # Interrupt Controller 1, Request 0 beq a0, zero, 4f move a0,sp - jal intc1_req1_irqdispatch - j done + jal intc1_req0_irqdispatch + j ret_from_irq 4: andi a0, t0, CAUSEF_IP5 # Interrupt Controller 1, Request 1 beq a0, zero, 5f move a0, sp jal intc1_req1_irqdispatch + j ret_from_irq 5: move a0, sp |