Skip to content

Commit 2d07196

Browse files
committed
arm64: compat: Remove 32-bit sigreturn code from the vDSO
The sigreturn code in the compat vDSO is unused. Remove it. Reviewed-by: Vincenzo Frascino <[email protected]> Reviewed-by: Ard Biesheuvel <[email protected]> Reviewed-by: Mark Rutland <[email protected]> Signed-off-by: Will Deacon <[email protected]>
1 parent 8e411be commit 2d07196

File tree

3 files changed

+0
-71
lines changed

3 files changed

+0
-71
lines changed

arch/arm64/kernel/vdso32/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ hostprogs := $(munge)
140140

141141
c-obj-vdso := note.o
142142
c-obj-vdso-gettimeofday := vgettimeofday.o
143-
asm-obj-vdso := sigreturn.o
144143

145144
ifneq ($(c-gettimeofday-y),)
146145
VDSO_CFLAGS_gettimeofday_o += -include $(c-gettimeofday-y)

arch/arm64/kernel/vdso32/sigreturn.S

Lines changed: 0 additions & 58 deletions
This file was deleted.

arch/arm64/kernel/vdso32/vdso.lds.S

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,19 +64,7 @@ VERSION
6464
__vdso_clock_gettime;
6565
__vdso_gettimeofday;
6666
__vdso_clock_getres;
67-
__kernel_sigreturn_arm;
68-
__kernel_sigreturn_thumb;
69-
__kernel_rt_sigreturn_arm;
70-
__kernel_rt_sigreturn_thumb;
7167
__vdso_clock_gettime64;
7268
local: *;
7369
};
7470
}
75-
76-
/*
77-
* Make the sigreturn code visible to the kernel.
78-
*/
79-
VDSO_compat_sigreturn_arm = __kernel_sigreturn_arm;
80-
VDSO_compat_sigreturn_thumb = __kernel_sigreturn_thumb;
81-
VDSO_compat_rt_sigreturn_arm = __kernel_rt_sigreturn_arm;
82-
VDSO_compat_rt_sigreturn_thumb = __kernel_rt_sigreturn_thumb;

0 commit comments

Comments
 (0)