[PATCH] ppc: fix floating point register corruption
authorPaolo Galtieri <pgaltieri@mvista.com>
Wed, 30 Nov 2005 03:34:38 +0000 (19:34 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 30 Nov 2005 03:47:03 +0000 (19:47 -0800)
commit9f232a125bf86b0dae09f8ea4a0553535cf6b658
tree2ba12b9889cef8568ae9ce04b8672162fa2283ff
parent123d3c13e2853a11b4d599d754b356acb12886e2
[PATCH] ppc: fix floating point register corruption

I recently discovered a bug on PPC which causes the floating point
registers to get corrupted when CONFIG_PREEMPT=y.

The problem occurred while running a multi threaded Java application that
does floating point.  The problem could be reproduced in anywhere from 2 to
6 hours.  With the patch I have included below it ran for over a week
without failure.

Signed-off-by: Paolo Galtieri <pgaltieri@mvista.com>
Cc: Kumar Gala <galak@gate.crashing.org>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Tom Rini <trini@kernel.crashing.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/kernel/process.c