]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit264cda9cec321fc07f70677a2fc4237dcb0cd207
tree887492cf9d0f28135e9c353a5ceafe6d3e633247
parent9fe6c6c8735cc29fa505bed74e9f69d8b57927f8
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