commit | 90b712ddabb40c49ca4f68bab07e27aa34c8d2a3 | [log] [tgz] |
---|---|---|
author | Maciej W. Rozycki <macro@linux-mips.org> | Tue Jun 02 17:50:59 2015 +0100 |
committer | Ralf Baechle <ralf@linux-mips.org> | Wed Jun 03 09:50:29 2015 +0200 |
tree | 41550c30a72b279e9c51cebe5a92c16f08302bbe | |
parent | a26484bb7e77d474ecef1ef01ce37fb16fb84f60 [diff] |
MIPS: Avoid an FPE exception in FCSR mask probing Use the default FCSR value in mask probing, avoiding an FPE exception where reset has left any exception enable and their corresponding cause bits set and the register is then rewritten with these bits active. Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org> Cc: Joshua Kinard <kumba@gentoo.org> Cc: linux-mips@linux-mips.org Signed-off-by: Ralf Baechle <ralf@linux-mips.org>