Skip to content

Commit 6a16dda

Browse files
committed
Merge branch 'x86-vdso-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 vdso changes from Ingo Molnar: "Misc vDSO updates" * 'x86-vdso-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/vdso: Remove x32 intermediates during 'make clean' x86/vdso: Teach 'make clean' to remove generated vdso-image-*.c files x86/vdso32/syscall.S: Do not load __USER32_DS to %ss x86/vdso: Fix the x86 vdso2c tool includes
2 parents ec1bc8e + 115db5c commit 6a16dda

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

arch/x86/vdso/Makefile

Lines changed: 2 additions & 2 deletions
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 $@
@@ -206,4 +206,4 @@ $(vdso_img_insttargets): install_%: $(obj)/%.dbg $(MODLIB)/vdso FORCE
206206
PHONY += vdso_install $(vdso_img_insttargets)
207207
vdso_install: $(vdso_img_insttargets) FORCE
208208

209-
clean-files := vdso32-syscall* vdso32-sysenter* vdso32-int80* vdso64*
209+
clean-files := vdso32-syscall* vdso32-sysenter* vdso32-int80* vdso64* vdso-image-*.c vdsox32.so*

arch/x86/vdso/vdso32/syscall.S

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ __kernel_vsyscall:
1919
.Lpush_ebp:
2020
movl %ecx, %ebp
2121
syscall
22-
movl $__USER32_DS, %ecx
23-
movl %ecx, %ss
2422
movl %ebp, %ecx
2523
popl %ebp
2624
.Lpop_ebp:

0 commit comments

Comments
 (0)