linux-mips
[Top] [All Lists]

kernel 2.6.9 patch

To: "Linux MIPS mailing list" <linux-mips@linux-mips.org>
Subject: kernel 2.6.9 patch
From: "Tatsuya Koseki" <koseki@shimafuji.co.jp>
Date: Tue, 14 Dec 2004 17:53:02 +0900
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Please review 


--- linux/include/asm/stackframe.h.old Tue Dec 14 17:49:38 2004
+++ linux/include/asm/stackframe.h Tue Dec 14 17:50:35 2004
@@ -244,6 +244,10 @@
   nor v1, $0, v1
   and v0, v1
   or v0, a0
+
+  li v1,2
+  or v0,v1
+
   mtc0 v0, CP0_STATUS
   LONG_L v1, PT_EPC(sp)
   MTC0 v1, CP0_EPC





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