[PATCH] Make interrupt handler works for all cases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



specially when the kernel is mapped.

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


---

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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux