commit | e156bd8ad76939a9bcd66d85cf06f8cde1fb8030 | [log] [tgz] |
---|---|---|
author | Anton Blanchard <anton@samba.org> | Mon Sep 23 12:04:37 2013 +1000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Fri Oct 11 16:48:26 2013 +1100 |
tree | 4da0a3c2138309a8366036d1068567414d4a8c76 | |
parent | 12f04f2be80dd8d9da24534828f3ab3189ca5af2 [diff] |
powerpc: Fix offset of FPRs in VSX registers in little endian builds The FPRs overlap the high doublewords of the first 32 VSX registers. Fix TS_FPROFFSET and TS_VSRLOWOFFSET so we access the correct fields in little endian mode. If VSX is disabled the FPRs are only one doubleword in length so TS_FPROFFSET needs adjusting in little endian. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>