From: Anton Blanchard Date: Mon, 23 Sep 2013 02:04:48 +0000 (+1000) Subject: powerpc: Alignment handler shouldn't access VSX registers with TS_FPR X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~19^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5841a46022e1ebe97d4c926c32ef4e9acec96a7;p=pandora-kernel.git powerpc: Alignment handler shouldn't access VSX registers with TS_FPR The TS_FPR macro selects the FPR component of a VSX register (the high doubleword). emulate_vsx is using this macro to get the address of the associated VSX register. This happens to work on big endian, but fails on little endian. Replace it with an explicit array access. Signed-off-by: Anton Blanchard Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed