]> www.infradead.org Git - users/dwmw2/linux.git/commit
csky/vdso: Remove gettimeofday() and friends from VDSO
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Thu, 10 Oct 2024 07:01:03 +0000 (09:01 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 2 Nov 2024 11:37:32 +0000 (12:37 +0100)
commitcf12469600fe50aa4ce720645fd31e97a5d2e87b
tree1d902c3dda6d0c69cb89bf1cad6a90083b922600
parentd4a65302dd849fade9e2ca712826c35b8d068ecb
csky/vdso: Remove gettimeofday() and friends from VDSO

The time-related VDSO functionality was introduced in 2021 in
commit 87f3248cdb9a ("csky: Reconstruct VDSO framework") and
commit 0d3b051adbb7 ("csky: Add VDSO with GENERIC_GETTIMEOFDAY, GENERIC_TIME_VSYSCALL, HAVE_GENERIC_VDSO").

However the corresponding aux-vector entry AT_SYSINFO_EHDR was never
wired up, making these functions impossible to test or use.

The VDSO itself is kept as it also provides rt_sigreturn which is
exposed differently to userspace.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20241010-vdso-generic-base-v1-1-b64f0842d512@linutronix.de
arch/csky/Kconfig
arch/csky/include/asm/vdso/clocksource.h [deleted file]
arch/csky/include/asm/vdso/gettimeofday.h [deleted file]
arch/csky/include/asm/vdso/processor.h [deleted file]
arch/csky/include/asm/vdso/vsyscall.h [deleted file]
arch/csky/kernel/vdso.c
arch/csky/kernel/vdso/Makefile
arch/csky/kernel/vdso/vdso.lds.S
arch/csky/kernel/vdso/vgettimeofday.c [deleted file]