commit | 98fd433aa6b02ba1612f9a9b73b8eb2f7e9d3419 | [log] [tgz] |
---|---|---|
author | Cédric Le Goater <clg@fr.ibm.com> | Thu Apr 24 09:23:33 2014 +0200 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Apr 28 17:35:56 2014 +1000 |
tree | 0d6771a0ddc11bd0ce1d22eab04566896185fdc9 | |
parent | b636031a7b0622ffdc5689ff36fb13669f00e160 [diff] |
powerpc/boot: Define byteswapping routines for little endian These are not the most efficient versions of swab but the wrapper does not do much byte swapping. On a big endian cpu, these routines are a no-op. Signed-off-by: Cédric Le Goater <clg@fr.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>