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-03-07 00:07:16 +00:00
2007-03-29 23:46:35 +01:00
2007-03-24 17:01:50 +00:00
2007-02-26 23:06:05 +00:00
2007-02-26 23:06:05 +00:00
2007-03-07 00:07:18 +00:00
2007-02-26 23:06:05 +00:00