commit | a5841a46022e1ebe97d4c926c32ef4e9acec96a7 | [log] [tgz] |
---|---|---|
author | Anton Blanchard <anton@samba.org> | Mon Sep 23 12:04:48 2013 +1000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Fri Oct 11 16:48:36 2013 +1100 |
tree | 5493286829cc5510302b630b49ed0e6654594b2b | |
parent | c324496456208e4a6a377d8a36b8fad76d004c7f [diff] |
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 <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>