[RFC] arm: use built-in byte swap function

Woodhouse, David david.woodhouse at intel.com
Fri Feb 8 12:25:17 EST 2013


On Thu, 2013-02-07 at 18:13 +0000, Russell King - ARM Linux wrote:
> 
> However, the biggest reason not to use libgcc is that we want to control
> what gets used in the kernel - for example, no floating point, and no
> use of 64 x 64bit division.

Which is all very sensible. But there's no particular reason we couldn't
add a __bswap[sd]i2 to the kernel's version of libgcc if we wanted to.

If we're compiling with -Os  on platforms without 'rev' and that's the
thing that makes most sense, then we should make it work.

-- 
                   Sent with MeeGo's ActiveSync support.

David Woodhouse                            Open Source Technology Centre
David.Woodhouse at intel.com                              Intel Corporation



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4370 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130208/5ac63cff/attachment.bin>


More information about the linux-arm-kernel mailing list