From: James Hogan Date: Fri, 30 Jan 2015 12:09:39 +0000 (+0000) Subject: MIPS: MSA: Fix big-endian FPR_IDX implementation X-Git-Tag: omap-for-v4.1/fixes-rc1~111^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f3a2c6e229ccb8df8115b04d16ad4832767cf3a;p=pandora-kernel.git MIPS: MSA: Fix big-endian FPR_IDX implementation The maximum word size is 64-bits since MSA state is saved using st.d which stores two 64-bit words, therefore reimplement FPR_IDX using xor, and only within each 64-bit word. Signed-off-by: James Hogan Signed-off-by: Paul Burton Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9169/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed