From: Paul Burton Date: Fri, 11 Jul 2014 15:44:30 +0000 (+0100) Subject: MIPS: save/disable MSA in lose_fpu X-Git-Tag: cleanup-for-v3.18~94^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33c771ba5c5d067f85a5a6c4b11047219b5b8f4e;p=pandora-kernel.git MIPS: save/disable MSA in lose_fpu The kernel depends upon MSA never being enabled when the FPU is not, a condition which is currently violated in a few places (whilst saving sigcontext, following mips_cpu_save). Catch all the problem cases by disabling MSA in lose_fpu, after saving context if necessary. Signed-off-by: Paul Burton Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/7302/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed