Skip to content

Commit 0a4f59d

Browse files
KyndeIngo Molnar
authored andcommitted
x86/vdso: Fix the x86 vdso2c tool includes
The build-time tool arch/x86/vdso/vdso2c.c includes <linux/elf.h>, but cannot find it, unless the build host happens to provide it. It should be reading the uapi linux/elf.h This build regression came along with the vdso2c changes between v3.15 and v3.16. Signed-off-by: Tommi Kyntola <[email protected]> Signed-off-by: Andy Lutomirski <[email protected]> Link: http://lkml.kernel.org/r/1525002.3cJ7BySVpA@musta Link: http://lkml.kernel.org/r/efe1ec29eda830b1d0030882706f3dac99ce1f73.1427482099.git.luto@kernel.org Signed-off-by: Ingo Molnar <[email protected]>
1 parent e42391c commit 0a4f59d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/vdso/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \
5151
$(obj)/vdso64.so.dbg: $(src)/vdso.lds $(vobjs) FORCE
5252
$(call if_changed,vdso)
5353

54-
HOST_EXTRACFLAGS += -I$(srctree)/tools/include
54+
HOST_EXTRACFLAGS += -I$(srctree)/tools/include -I$(srctree)/include/uapi
5555
hostprogs-y += vdso2c
5656

5757
quiet_cmd_vdso2c = VDSO2C $@

0 commit comments

Comments
 (0)