Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

time: Build generic update_vsyscall() only with generic time vDSO

The generic vDSO can be used without the time-related functionality.
In that case the generic update_vsyscall() from kernel/time/vsyscall.c
should not be built.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250826-vdso-cleanups-v1-5-d9b65750e49f@linutronix.de

authored by

Thomas Weißschuh and committed by
Thomas Gleixner
ea1a1fa9 f145d6bf

+1 -1
+1 -1
kernel/time/Makefile
··· 26 26 ifeq ($(CONFIG_SMP),y) 27 27 obj-$(CONFIG_NO_HZ_COMMON) += timer_migration.o 28 28 endif 29 - obj-$(CONFIG_HAVE_GENERIC_VDSO) += vsyscall.o 29 + obj-$(CONFIG_GENERIC_GETTIMEOFDAY) += vsyscall.o 30 30 obj-$(CONFIG_DEBUG_FS) += timekeeping_debug.o 31 31 obj-$(CONFIG_TEST_UDELAY) += test_udelay.o 32 32 obj-$(CONFIG_TIME_NS) += namespace.o