[MIPS] Make sure cpu_has_fpu is used only in atomic context
commit250115aece4fa9ea860abb37f1ee97b23d58a0a1
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Sun, 8 Oct 2006 15:10:01 +0000 (9 00:10 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 9 Oct 2006 15:58:31 +0000 (9 16:58 +0100)
tree516f6169d4736ef837eef7c4d68277c1cbfc5d3e
parente2f2663d0ccdf9c205e98243013e5adc3e0072e5
[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