Re: Toshiba TX3927 board boot problem.

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

 



>>>>> On Tue, 30 Oct 2001 15:55:33 +0100, Ralf Baechle <ralf@oss.sgi.com> said:
ralf> So here is a preliminiary version of my patch.  Still untested
ralf> and needs to be applied to mips64 also.

Thank you.  This patch works fine for me.

One request: with this patch, a ptrace call for FPC_EIR returns error
on FPU-less CPUs.  The call can be handled without error (as for other
FP registers).

--- /tmp/ptrace.c	Wed Oct 31 11:44:16 2001
+++ arch/mips/kernel/ptrace.c	Wed Oct 31 11:46:10 2001
@@ -174,8 +174,7 @@
 			unsigned int flags;
 
 			if (!(mips_cpu.options & MIPS_CPU_FPU)) {
-				res = -EIO;
-				goto out;
+				break;
 			}
 
 			__save_flags(flags);
---
Atsushi Nemoto

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux