• Paolo Galtieri's avatar
    [PATCH] ppc: fix floating point register corruption · 8117ce76
    Paolo Galtieri authored
    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: default avatarPaolo 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: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    8117ce76
process.c 20.9 KB