Atsushi Nemoto faea623464 [MIPS] Retry {save,restore}_fp_context if failed in atomic context.
The save_fp_context()/restore_fp_context() might sleep on accessing
user stack and therefore might lose FPU ownership in middle of them.

If these function failed due to "in_atomic" test in do_page_fault,
touch the sigcontext area in non-atomic context and retry these
save/restore operation.

This is a replacement of a (broken) fix which was titled "Allow CpU
exception in kernel partially".

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-04-20 14:58:37 +01:00
..
2007-02-06 16:53:19 +00:00
2007-02-20 17:11:55 +00:00
2005-04-16 15:20:36 -07:00
2005-10-29 19:30:50 +01:00
2007-02-06 16:53:19 +00:00
2007-02-06 16:53:19 +00:00
2006-11-30 01:14:44 +00:00
2006-12-10 21:52:11 +00:00
2006-10-19 17:55:13 +01:00
2007-02-06 16:53:19 +00:00