]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ppc: fix floating point register corruption
authorPaolo Galtieri <pgaltieri@mvista.com>
Tue, 29 Nov 2005 22:26:47 +0000 (14:26 -0800)
committerPaul Mackerras <paulus@samba.org>
Wed, 30 Nov 2005 02:17:05 +0000 (13:17 +1100)
commit8117ce76c28ef0cab8545b518fa0543f6d1437e6
treeeeff68fc67e3b48cfb0156cd041d136c97229083
parent12074a35b4ef36d7a971beaf42412b22f304cdd1
[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>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc/kernel/process.c