commit | 40f5b07832ce29e66f42b61a2e9a1fd94783c136 | [log] [tgz] |
---|---|---|
author | Rabin Vincent <rabin@rab.in> | Sun Oct 25 16:55:33 2009 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Sun Oct 25 15:59:53 2009 +0000 |
tree | ae197b0653a565754e741e505c826773d6a2353f | |
parent | a8cf81ffe0284660fe405e7189f47f1b032f5261 [diff] |
ARM: 5772/1: Use REV and REV16 for byte swapping on ARMv6+ ARMv6 introduced the REV and REV16 instructions that reverse bytes in words and halfwords. Use them for the arch-specific implementation of the byte swapping helpers on ARMv6+. Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>