From: Anton Blanchard Date: Mon, 23 Sep 2013 02:04:39 +0000 (+1000) Subject: powerpc: Little endian builds double word swap VSX state during context save/restore X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~19^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=926f160f460170b0361f600f365369685ad74009;p=pandora-kernel.git powerpc: Little endian builds double word swap VSX state during context save/restore The elements within VSX loads and stores are big endian ordered regardless of endianness. Our VSX context save/restore code uses lxvd2x and stxvd2x which is a 2x doubleword operation. This means the two doublewords will be swapped and we have to perform another swap to undo it. We need to do this on save and restore. Signed-off-by: Anton Blanchard Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed