| To: | SGI MIPS list <linux-mips@oss.sgi.com>, Debian MIPS list <debian-mips@lists.debian.org> |
|---|---|
| Subject: | Patch to ptrace.c |
| From: | Jan-Benedict Glaw <jbglaw@lug-owl.de> |
| Date: | Fri, 13 Jul 2001 17:13:13 +0200 |
| Mail-followup-to: | SGI MIPS list <linux-mips@oss.sgi.com>, Debian MIPS list <debian-mips@lists.debian.org> |
| Sender: | owner-linux-mips@oss.sgi.com |
| User-agent: | Mutt/1.2.5i |
Hi!
Fixing a little typo preventing proper compiling... Ralf? Would you please
apply it?
Index: ptrace.c
===================================================================
RCS file: /cvs/linux/arch/mips/kernel/ptrace.c,v
retrieving revision 1.28
diff -u -r1.28 ptrace.c
--- ptrace.c 2001/07/12 00:16:53 1.28
+++ ptrace.c 2001/07/13 12:10:36
@@ -155,7 +155,7 @@
* registers - unless we're using r2k_switch.S.
*/
#ifdef CONFIG_CPU_R3000
- if (mips_cpu_options & MIPS_CPU_FPU)
+ if (mips_cpu.options & MIPS_CPU_FPU)
tmp = *(unsigned long *)(fregs + addr);
else
#endif
@@ -252,7 +252,7 @@
* we're using r2k_switch.S.
*/
#ifdef CONFIG_CPU_R3000
- if (mips_cpu_options & MIPS_CPU_FPU)
+ if (mips_cpu.options & MIPS_CPU_FPU)
*(unsigned long *)(fregs + addr) = data;
else
#endif
MfG, JBG
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [ANNOUNCE] Secondary mips tree., James Simmons |
|---|---|
| Next by Date: | Re: Clean up the mips dynamic linker, Ulrich Drepper |
| Previous by Thread: | Clean up the mips dynamic linker, H . J . Lu |
| Next by Thread: | Re: Patch to ptrace.c, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |