[MIPS] Make sure cpu_has_fpu is used only in atomic context
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sun, 8 Oct 2006 15:10:01 +0000 (00:10 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 9 Oct 2006 22:20:48 +0000 (23:20 +0100)
commite04582b7bc70b40c57287cdc24f81964ee88f565
treea5127c2d4165e656a84612836f6326427843acca
parentf5c70dd7f384db4c524c35288d9be3ed61ac41a9
[MIPS] Make sure cpu_has_fpu is used only in atomic context

Make sure cpu_has_fpu (which uses smp_processor_id()) is used only in
atomic context.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/proc.c
arch/mips/kernel/process.c
arch/mips/kernel/ptrace.c
arch/mips/kernel/ptrace32.c
arch/mips/kernel/traps.c
arch/mips/math-emu/cp1emu.c
include/asm-mips/fpu.h