projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f145d6b
)
time: Build generic update_vsyscall() only with generic time vDSO
author
Thomas Weißschuh
<thomas.weissschuh@linutronix.de>
Tue, 26 Aug 2025 06:17:08 +0000
(08:17 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Thu, 4 Sep 2025 09:23:50 +0000
(11:23 +0200)
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
kernel/time/Makefile
patch
|
blob
|
history
diff --git
a/kernel/time/Makefile
b/kernel/time/Makefile
index
e6e9b85
..
f7d52d9
100644
(file)
--- a/
kernel/time/Makefile
+++ b/
kernel/time/Makefile
@@
-26,7
+26,7
@@
obj-$(CONFIG_LEGACY_TIMER_TICK) += tick-legacy.o
ifeq ($(CONFIG_SMP),y)
obj-$(CONFIG_NO_HZ_COMMON) += timer_migration.o
endif
-obj-$(CONFIG_
HAVE_GENERIC_VDSO)
+= vsyscall.o
+obj-$(CONFIG_
GENERIC_GETTIMEOFDAY)
+= vsyscall.o
obj-$(CONFIG_DEBUG_FS) += timekeeping_debug.o
obj-$(CONFIG_TEST_UDELAY) += test_udelay.o
obj-$(CONFIG_TIME_NS) += namespace.o