linux-mips
[Top] [All Lists]

[PATCH] Make interrupt handler works for all cases

To: "Ralf Baechle" <ralf@linux-mips.org>
Subject: [PATCH] Make interrupt handler works for all cases
From: "Franck Bui-Huu" <vagabon.xyz@gmail.com>
Date: Tue, 2 May 2006 09:55:51 +0200
Cc: linux-mips <linux-mips@linux-mips.org>
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=BtVgaiK/MYWnSpKzYxQ0pxiAcdHM/AtxEriOkJ7RTW1BKbr459zrwcPOB5/bz8M7+bw3E2AJKOsqkoQb/Li7ixsnMenkU8E/CF9yFpOoQh6C5WqI3djO8TqahotmjIctVa/uIuc9wEF94hkXxbA/8J4IxbRMqM1RENY2kPgcIA4=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
specially when the kernel is mapped.

Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com>


---

arch/mips/kernel/genex.S |    3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

72821cd1fc2a6e31e31c2babf338425b29e8f11f
diff --git a/arch/mips/kernel/genex.S b/arch/mips/kernel/genex.S
index ff7af36..50cb0c2 100644
--- a/arch/mips/kernel/genex.S
+++ b/arch/mips/kernel/genex.S
@@ -132,7 +132,8 @@ NESTED(handle_int, PT_SIZE, sp)

        PTR_LA  ra, ret_from_irq
        move    a0, sp
-       j       plat_irq_dispatch
+       PTR_LA  k0, plat_irq_dispatch
+       jr      k0
        END(handle_int)

        __INIT
--
1.3.0.g2473

<Prev in Thread] Current Thread [Next in Thread>