* [PATCH] wrong EF_CP0_CAUSE offset
@ 2001-11-08 23:37 Jun Sun
2001-11-09 7:08 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Jun Sun @ 2001-11-08 23:37 UTC (permalink / raw)
To: ralf, linux-mips
[-- Attachment #1: Type: text/plain, Size: 156 bytes --]
reg.h has the wrong offset EF_CP0_CAUSE and the wrong pt_regs size.
This seems to be a problem only for mips (32bit) tree.
Drow found this bug, BTW.
Jun
[-- Attachment #2: wrong-EF_CP0_CAUSE-offset.011108.011108.patch --]
[-- Type: text/plain, Size: 465 bytes --]
diff -Nru linux/include/asm-mips/reg.h.orig linux/include/asm-mips/reg.h
--- linux/include/asm-mips/reg.h.orig Wed Aug 18 16:37:49 1999
+++ linux/include/asm-mips/reg.h Thu Nov 8 15:23:32 2001
@@ -59,8 +59,8 @@
#define EF_CP0_EPC 40
#define EF_CP0_BADVADDR 41
#define EF_CP0_STATUS 42
-#define EF_CP0_CAUSE 44
+#define EF_CP0_CAUSE 43
-#define EF_SIZE 180 /* size in bytes */
+#define EF_SIZE 176 /* size in bytes */
#endif /* __ASM_MIPS_REG_H */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] wrong EF_CP0_CAUSE offset
2001-11-08 23:37 [PATCH] wrong EF_CP0_CAUSE offset Jun Sun
@ 2001-11-09 7:08 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2001-11-09 7:08 UTC (permalink / raw)
To: Jun Sun; +Cc: linux-mips
On Thu, Nov 08, 2001 at 03:37:00PM -0800, Jun Sun wrote:
> reg.h has the wrong offset EF_CP0_CAUSE and the wrong pt_regs size.
>
> This seems to be a problem only for mips (32bit) tree.
>
> Drow found this bug, BTW.
Thanks, patch applied to both 2.2 and 2.4. Fortunately the consequences of
this bug should hardly bite any user.
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-11-11 1:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-08 23:37 [PATCH] wrong EF_CP0_CAUSE offset Jun Sun
2001-11-09 7:08 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox