>>>>> 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