summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/bug.h
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2007-04-16 23:19:44 +0900
committerRalf Baechle <ralf@linux-mips.org>2007-04-20 14:58:37 +0100
commitfaea62346444ce5b1dba8fb5291d95b676522c42 (patch)
treed00e53763ca9b145348e5754aaf0cd4dcbb12123 /include/asm-mips/bug.h
parent5323180db75d562a287cb2020b07c9422df13df6 (diff)
downloadblackbird-op-linux-faea62346444ce5b1dba8fb5291d95b676522c42.tar.gz
blackbird-op-linux-faea62346444ce5b1dba8fb5291d95b676522c42.zip
[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>
Diffstat (limited to 'include/asm-mips/bug.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud