Skip to content

Commit ea1a1fa

Browse files
t-8chKAGA-KOKO
authored andcommitted
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
1 parent f145d6b commit ea1a1fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/time/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ obj-$(CONFIG_LEGACY_TIMER_TICK) += tick-legacy.o
2626
ifeq ($(CONFIG_SMP),y)
2727
obj-$(CONFIG_NO_HZ_COMMON) += timer_migration.o
2828
endif
29-
obj-$(CONFIG_HAVE_GENERIC_VDSO) += vsyscall.o
29+
obj-$(CONFIG_GENERIC_GETTIMEOFDAY) += vsyscall.o
3030
obj-$(CONFIG_DEBUG_FS) += timekeeping_debug.o
3131
obj-$(CONFIG_TEST_UDELAY) += test_udelay.o
3232
obj-$(CONFIG_TIME_NS) += namespace.o

0 commit comments

Comments
 (0)