__compute_return_epc() uses CFC1 instruction which might result in a
authorRalf Baechle <ralf@linux-mips.org>
Mon, 9 May 2005 13:16:07 +0000 (13:16 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:31:13 +0000 (19:31 +0100)
commit1d74f6bc85cbdc4601e5aea1e67ccbd259f0c7f4
treee9ffdef4000ab6e45a5d4c9233da0a7a67daf285
parentd547c5cc2186be9d74b0c595dc8059aef56cd445
__compute_return_epc() uses CFC1 instruction which might result in a
coprocessor unusable exception since the process can lose its fpu
context by preemption.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/branch.c
include/asm-mips/fpu.h