]> git.baikalelectronics.ru Git - kernel.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)
commitde7e9b670843e07f9486f09d3eb6abdacb78e004
treeeeff68fc67e3b48cfb0156cd041d136c97229083
parentcc5115c0b4d68e8f2555e952bc0b2ee7d90f0c02
[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