]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86,vdso: Fix cross-compilation from big-endian architectures
authorAndy Lutomirski <luto@amacapital.net>
Thu, 29 May 2014 21:57:18 +0000 (14:57 -0700)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 30 May 2014 04:24:51 +0000 (14:24 +1000)
commited4fd26d9cacbd9355dcda1c31224daf9b6460fe
tree8228add64879b01b6ad34c501f214a346e519ceb
parenta83d4ab8ca6786c89f4632d6a3ac9335af663476
x86,vdso: Fix cross-compilation from big-endian architectures

This adds a macro GET(x) to convert x from big-endian to
little-endian.  Hopefully I put it everywhere it needs to go and got
all the cases needed for everyone's linux/elf.h.

Signed-off-by: Andy Lutomirski <luto@amacapital.net>
arch/x86/vdso/vdso2c.c
arch/x86/vdso/vdso2c.h