[MIPS] Cleanup FPU ownership management
Currently preempt_disable/preempt_enable are scattered in FPU
ownership management code. This patch makes own_fpu() and lose_fpu()
can save/restore FPU context in itself and make these functions (and
init_fpu() too) preempt-proof. This makes the FPU management codes
much readable. Also this patch introduce raw_cpu_has_fpu macro which
is to be used if the caller did not need atomic context.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>