Skip to content
Commit 40f5b078 authored by Rabin Vincent's avatar Rabin Vincent Committed by Russell King
Browse files

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: default avatarRabin Vincent <rabin@rab.in>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent a8cf81ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment