[PATCH] Use REV and REV16 for byte swapping on ARMv6+

Catalin Marinas catalin.marinas at arm.com
Mon Oct 26 07:02:46 EDT 2009


On Sat, 2009-10-24 at 12:13 +0100, Russell King - ARM Linux wrote:
> On Sat, Oct 24, 2009 at 02:29:42PM +0530, Rabin Vincent wrote:
> > 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+.
> 
> Please submit to the patch system.  Note that you can now use this format,
> and just put the "KernelVersion:" header somewhere in before the 'diff'
> line.

(OT) Does it also now parse a "From:" line (if the author differs from
the sender)?

-- 
Catalin




More information about the linux-arm-kernel mailing list