Skip to content

Commit

Permalink
arm64: compat: Remove 32-bit sigreturn code from the vDSO
Browse files Browse the repository at this point in the history
The sigreturn code in the compat vDSO is unused. Remove it.

Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
  • Loading branch information
willdeacon authored and fifteenhex committed Jul 28, 2020
1 parent e8747b8 commit f25cee3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 71 deletions.
1 change: 0 additions & 1 deletion arch/arm64/kernel/vdso32/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ hostprogs := $(munge)

c-obj-vdso := note.o
c-obj-vdso-gettimeofday := vgettimeofday.o
asm-obj-vdso := sigreturn.o

ifneq ($(c-gettimeofday-y),)
VDSO_CFLAGS_gettimeofday_o += -include $(c-gettimeofday-y)
Expand Down
58 changes: 0 additions & 58 deletions arch/arm64/kernel/vdso32/sigreturn.S

This file was deleted.

12 changes: 0 additions & 12 deletions arch/arm64/kernel/vdso32/vdso.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,7 @@ VERSION
__vdso_clock_gettime;
__vdso_gettimeofday;
__vdso_clock_getres;
__kernel_sigreturn_arm;
__kernel_sigreturn_thumb;
__kernel_rt_sigreturn_arm;
__kernel_rt_sigreturn_thumb;
__vdso_clock_gettime64;
local: *;
};
}

/*
* Make the sigreturn code visible to the kernel.
*/
VDSO_compat_sigreturn_arm = __kernel_sigreturn_arm;
VDSO_compat_sigreturn_thumb = __kernel_sigreturn_thumb;
VDSO_compat_rt_sigreturn_arm = __kernel_rt_sigreturn_arm;
VDSO_compat_rt_sigreturn_thumb = __kernel_rt_sigreturn_thumb;

0 comments on commit f25cee3

Please sign in to comment.