aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/vdso/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2014-06-06 17:30:37 -0400
committerH. Peter Anvin <hpa@linux.intel.com>2014-06-06 17:54:54 -0400
commitbdfb9bcc25005d06a9c301830bdeb7ca5a0b6ef7 (patch)
tree4598169d540d42653e4dbd320473cb3ea1f6592c /arch/x86/vdso/Makefile
parenta0abcf2e8f8017051830f738ac1bf5ef42703243 (diff)
x86, vdso: Use <tools/le_byteshift.h> for littleendian access
There are no standard functions for littleendian data (unlike bigendian data.) Thus, use <tools/le_byteshift.h> to access littleendian data members. Those are fairly inefficient, but it doesn't matter for this purpose (and can be optimized later.) This avoids portability problems. Reported-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Tested-by: Andy Lutomirski <luto@amacapital.net> Link: http://lkml.kernel.org/r/20140606140017.afb7f91142f66cb3dd13c186@linux-foundation.org
Diffstat (limited to 'arch/x86/vdso/Makefile')
-rw-r--r--arch/x86/vdso/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/vdso/Makefile b/arch/x86/vdso/Makefile
index 895d4b16b7e3..9769df094035 100644
--- a/arch/x86/vdso/Makefile
+++ b/arch/x86/vdso/Makefile
@@ -59,6 +59,7 @@ VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \
59$(obj)/vdso64.so.dbg: $(src)/vdso.lds $(vobjs) FORCE 59$(obj)/vdso64.so.dbg: $(src)/vdso.lds $(vobjs) FORCE
60 $(call if_changed,vdso) 60 $(call if_changed,vdso)
61 61
62HOST_EXTRACFLAGS += -I$(srctree)/tools/include
62hostprogs-y += vdso2c 63hostprogs-y += vdso2c
63 64
64quiet_cmd_vdso2c = VDSO2C $@ 65quiet_cmd_vdso2c = VDSO2C $@