[PATCH] ARM: fix vdsomunge depends on glibc specific byteswap.h
Nathan Lynch
Nathan_Lynch at mentor.com
Wed Sep 30 11:17:02 PDT 2015
On 09/30/2015 12:47 PM, H. Nikolaus Schaller wrote:
>
> Am 30.09.2015 um 19:37 schrieb Nathan Lynch <Nathan_Lynch at mentor.com>:
>> Why not just use a generic
>> implementation like is found in mips' elf2ecoff?
>
> Do you have a reference?
> I can't find byte swapping in
>
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/mips/boot/elf2ecoff.c?id=refs/tags/v4.3-rc3
See the swab16 and swab32 macros (yes, "swab" not "swap").
Or the __constant_swab* macros in include/linux/uapi/swab.h.
More information about the linux-arm-kernel
mailing list