[MIPS] do_fpe() cleanup
commit7c2ce2a9f81466b51093bca1d96ef5a985ca9d13
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Fri, 9 Mar 2007 16:07:45 +0000 (10 01:07 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 10 Mar 2007 10:20:09 +0000 (10 10:20 +0000)
treea0a52c3a18f5cc591d299e4e8339b688e48de314
parent8df3d30cd4c5a49b1365f3db1c0f3545d5fc4d59
[MIPS] do_fpe() cleanup

If we have already lost FPU before disabling preempt, we do not have to
own it at all.  And we do not prevent preemption when managing saved FCR31
if we did not have FPU ownership.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c