From: Paul Burton Date: Mon, 27 Jul 2015 19:58:16 +0000 (-0700) Subject: MIPS: Move FP usage checks into protected_{save, restore}_fp_context X-Git-Tag: omap-for-v4.3/fixes-rc1~99^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64243c2a945640392b59fe1dc66c30ee1ca04170;p=pandora-kernel.git MIPS: Move FP usage checks into protected_{save, restore}_fp_context In preparation for sharing protected_{save,restore}_fp_context with compat ABIs, move the FP usage checks into said functions. This will both enable that code to be shared, and allow for extensions of it in further patches to also be shared. Signed-off-by: Paul Burton Cc: linux-mips@linux-mips.org Cc: Guenter Roeck Cc: Matthew Fortune Cc: Michael Ellerman Cc: linux-kernel@vger.kernel.org Cc: Richard Weinberger Cc: Andy Lutomirski Cc: Maciej W. Rozycki Patchwork: https://patchwork.linux-mips.org/patch/10790/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed