mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
Previously, missing time namespace support in the vDSO meant that time namespaces needed to be disabled globally. This was expressed in a hard dependency on the generic vDSO library. This also meant that architectures without any vDSO or only a stub vDSO could not enable time namespaces. Now that all architectures using a real vDSO are using the generic library, that dependency is not necessary anymore. Remove the dependency and let all architectures enable time namespaces. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20260326-vdso-timens-decoupling-v2-2-c82693a7775f@linutronix.de
36 lines
1.2 KiB
Makefile
36 lines
1.2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Branch profiling isn't noinstr-safe
|
|
ifdef CONFIG_TRACE_BRANCH_PROFILING
|
|
CFLAGS_sched_clock.o += -DDISABLE_BRANCH_PROFILING
|
|
endif
|
|
|
|
obj-y += time.o timer.o hrtimer.o sleep_timeout.o
|
|
obj-y += timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o
|
|
obj-y += timeconv.o timecounter.o alarmtimer.o
|
|
|
|
ifeq ($(CONFIG_POSIX_TIMERS),y)
|
|
obj-y += posix-timers.o posix-cpu-timers.o posix-clock.o itimer.o
|
|
else
|
|
obj-y += posix-stubs.o
|
|
endif
|
|
|
|
obj-$(CONFIG_GENERIC_CLOCKEVENTS) += clockevents.o tick-common.o
|
|
ifeq ($(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST),y)
|
|
obj-y += tick-broadcast.o
|
|
obj-$(CONFIG_TICK_ONESHOT) += tick-broadcast-hrtimer.o
|
|
endif
|
|
obj-$(CONFIG_GENERIC_SCHED_CLOCK) += sched_clock.o
|
|
obj-$(CONFIG_TICK_ONESHOT) += tick-oneshot.o tick-sched.o
|
|
obj-$(CONFIG_LEGACY_TIMER_TICK) += tick-legacy.o
|
|
ifeq ($(CONFIG_SMP),y)
|
|
obj-$(CONFIG_NO_HZ_COMMON) += timer_migration.o
|
|
endif
|
|
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
|
|
obj-$(CONFIG_TIME_NS_VDSO) += namespace_vdso.o
|
|
obj-$(CONFIG_TEST_CLOCKSOURCE_WATCHDOG) += clocksource-wdtest.o
|
|
obj-$(CONFIG_TIME_KUNIT_TEST) += time_test.o
|