diff options
-rw-r--r-- | arch/x86/entry/vdso/Makefile | 5 | ||||
-rw-r--r-- | arch/x86/entry/vdso/vdso32/sigreturn.S | 8 | ||||
-rw-r--r-- | arch/x86/entry/vdso/vdso32/system_call.S | 7 |
3 files changed, 4 insertions, 16 deletions
diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile index 253b72eaade6..68b63fddc209 100644 --- a/arch/x86/entry/vdso/Makefile +++ b/arch/x86/entry/vdso/Makefile | |||
@@ -134,7 +134,7 @@ VDSO_LDFLAGS_vdso32.lds = -m32 -Wl,-m,elf_i386 -Wl,-soname=linux-gate.so.1 | |||
134 | override obj-dirs = $(dir $(obj)) $(obj)/vdso32/ | 134 | override obj-dirs = $(dir $(obj)) $(obj)/vdso32/ |
135 | 135 | ||
136 | targets += vdso32/vdso32.lds | 136 | targets += vdso32/vdso32.lds |
137 | targets += vdso32/note.o vdso32/vclock_gettime.o vdso32/system_call.o | 137 | targets += vdso32/note.o vdso32/system_call.o vdso32/sigreturn.o |
138 | targets += vdso32/vclock_gettime.o | 138 | targets += vdso32/vclock_gettime.o |
139 | 139 | ||
140 | KBUILD_AFLAGS_32 := $(filter-out -m64,$(KBUILD_AFLAGS)) -DBUILD_VDSO | 140 | KBUILD_AFLAGS_32 := $(filter-out -m64,$(KBUILD_AFLAGS)) -DBUILD_VDSO |
@@ -156,7 +156,8 @@ $(obj)/vdso32.so.dbg: FORCE \ | |||
156 | $(obj)/vdso32/vdso32.lds \ | 156 | $(obj)/vdso32/vdso32.lds \ |
157 | $(obj)/vdso32/vclock_gettime.o \ | 157 | $(obj)/vdso32/vclock_gettime.o \ |
158 | $(obj)/vdso32/note.o \ | 158 | $(obj)/vdso32/note.o \ |
159 | $(obj)/vdso32/system_call.o | 159 | $(obj)/vdso32/system_call.o \ |
160 | $(obj)/vdso32/sigreturn.o | ||
160 | $(call if_changed,vdso) | 161 | $(call if_changed,vdso) |
161 | 162 | ||
162 | # | 163 | # |
diff --git a/arch/x86/entry/vdso/vdso32/sigreturn.S b/arch/x86/entry/vdso/vdso32/sigreturn.S index d7ec4e251c0a..20633e026e82 100644 --- a/arch/x86/entry/vdso/vdso32/sigreturn.S +++ b/arch/x86/entry/vdso/vdso32/sigreturn.S | |||
@@ -1,11 +1,3 @@ | |||
1 | /* | ||
2 | * Common code for the sigreturn entry points in vDSO images. | ||
3 | * So far this code is the same for both int80 and sysenter versions. | ||
4 | * This file is #include'd by int80.S et al to define them first thing. | ||
5 | * The kernel assumes that the addresses of these routines are constant | ||
6 | * for all vDSO implementations. | ||
7 | */ | ||
8 | |||
9 | #include <linux/linkage.h> | 1 | #include <linux/linkage.h> |
10 | #include <asm/unistd_32.h> | 2 | #include <asm/unistd_32.h> |
11 | #include <asm/asm-offsets.h> | 3 | #include <asm/asm-offsets.h> |
diff --git a/arch/x86/entry/vdso/vdso32/system_call.S b/arch/x86/entry/vdso/vdso32/system_call.S index 0109ac6cb79c..ed4bc9731cbb 100644 --- a/arch/x86/entry/vdso/vdso32/system_call.S +++ b/arch/x86/entry/vdso/vdso32/system_call.S | |||
@@ -2,16 +2,11 @@ | |||
2 | * AT_SYSINFO entry point | 2 | * AT_SYSINFO entry point |
3 | */ | 3 | */ |
4 | 4 | ||
5 | #include <linux/linkage.h> | ||
5 | #include <asm/dwarf2.h> | 6 | #include <asm/dwarf2.h> |
6 | #include <asm/cpufeatures.h> | 7 | #include <asm/cpufeatures.h> |
7 | #include <asm/alternative-asm.h> | 8 | #include <asm/alternative-asm.h> |
8 | 9 | ||
9 | /* | ||
10 | * First get the common code for the sigreturn entry points. | ||
11 | * This must come first. | ||
12 | */ | ||
13 | #include "sigreturn.S" | ||
14 | |||
15 | .text | 10 | .text |
16 | .globl __kernel_vsyscall | 11 | .globl __kernel_vsyscall |
17 | .type __kernel_vsyscall,@function | 12 | .type __kernel_vsyscall,@function |