[PATCH 1/9] csky/vdso: Remove all gettimeofday() remnants

Thomas Weißschuh thomas.weissschuh at linutronix.de
Thu Dec 3 23:30:28 PST 2026


The CSKY vDSO does not support gettimeofday() anymore.

Remove the remaining, dead build integrations.

Fixes: cf12469600fe ("csky/vdso: Remove gettimeofday() and friends from VDSO")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 arch/csky/kernel/vdso/Makefile | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/arch/csky/kernel/vdso/Makefile b/arch/csky/kernel/vdso/Makefile
index a3042287a070..77c70851318a 100644
--- a/arch/csky/kernel/vdso/Makefile
+++ b/arch/csky/kernel/vdso/Makefile
@@ -1,19 +1,12 @@
 # SPDX-License-Identifier: GPL-2.0-only
 
-# Include the generic Makefile to check the built vdso.
-include $(srctree)/lib/vdso/Makefile.include
-
 # Symbols present in the vdso
 vdso-syms  += rt_sigreturn
 
 # Files to link into the vdso
 obj-vdso = $(patsubst %, %.o, $(vdso-syms)) note.o
 
-ifneq ($(c-gettimeofday-y),)
-	CFLAGS_vgettimeofday.o += -include $(c-gettimeofday-y)
-endif
-
-ccflags-y := -fno-stack-protector -DBUILD_VDSO32
+ccflags-y := -fno-stack-protector
 
 # Build rules
 targets := $(obj-vdso) vdso.so vdso.so.dbg vdso.lds vdso-dummy.o

-- 
2.56.1




More information about the linux-arm-kernel mailing list