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

Patch to ptrace.c



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



Reply to: