Skip to contentSkip to conversation

Patch to ptrace.c

PATCH Jan-Benedict Glaw 2 participants 2 messages Jul 13, 2001 – Jul 14, 2001 MIPS

lore
Share & tools
lore
#0 lore raw

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

ptrace.c +2 -2
diff -u -r1.28 ptrace.c
@@ -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

#1 lore raw
Quoted 2 lines · Jan-Benedict Glaw

Fixing a little typo preventing proper compiling... Ralf? Would you please apply it?

Already fixed before your patch reached me ...

Ralf