Re: [PATCH RESEND 2/2] MIPS: fpu: fix conflict of register usage

From: Guenter Roeck
Date: Wed Mar 12 2014 - 19:02:30 EST


On 03/12/2014 03:41 PM, Aaro Koskinen wrote:
From: Huacai Chen <chenhc@xxxxxxxxxx>

In _restore_fp_context/_restore_fp_context32, t0 is used for both
CP0_Status and CP1_FCSR. This is a mistake and cause FP exeception on
boot, so fix it.

Signed-off-by: Huacai Chen <chenhc@xxxxxxxxxx>
Tested-by: Aaro Koskinen <aaro.koskinen@xxxxxx>
Tested-by: Andreas Barth <aba@xxxxxxxxx>
Signed-off-by: Aaro Koskinen <aaro.koskinen@xxxxxx>

With qemu-system-mips64:

Tested-by: Guenter Roeck <linux@xxxxxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/