x86/vdso, build: Fix cross-compilation from big-endian architectures
authorAndy Lutomirski <luto@amacapital.net>
Fri, 30 May 2014 15:48:49 +0000 (08:48 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 30 May 2014 23:58:43 +0000 (16:58 -0700)
commitadd4eed0a2abea3951206f504330ee5daf8c178a
tree887492cf9d0f28135e9c353a5ceafe6d3e633247
parent011561837dad082a92c0537db2d134e66419c6ad
x86/vdso, build: 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>
Link: http://lkml.kernel.org/r/2cf258df123cb24bad63c274c8563c050547d99d.1401464755.git.luto@amacapital.net
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/vdso/vdso2c.c
arch/x86/vdso/vdso2c.h