On 7 Feb 2001, Florian Lohoff reported exit_thread() problem on
NON-FPU CPUs. Tt is still not solved in the current kernel.
>>>>> On Wed, 7 Feb 2001 14:48:58 +0100, Florian Lohoff <firstname.lastname@example.org> said:
flo> I stumbled over the current tree as on the 3912 we dont have a
flo> FPU so we cant use the default "exit_thread" which simply causes
flo> the CPU to halt (not even an cpu reset works)
Following codes in exit_thread() and flush_thread() should be executed
only if (mips_cpu.options & MIPS_CPU_FPU) == 0, shouldn't it?
BTW, I can not see any point in copying FCR31 to r0. What is a
purpose of the cfc1 instruction?