linux/lib/vdso
Thomas Weißschuh 5569fadd00 vdso/datastore: Gate time data behind CONFIG_GENERIC_GETTIMEOFDAY
[ Upstream commit 7c0c01a216 ]

When the generic vDSO does not provide time functions, as for example on
riscv32, then the time data store is not necessary.

Avoid allocating these time data pages when not used.

Fixes: df7fcbefa7 ("vdso: Add generic time data storage")
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-1-d9b65750e49f@linutronix.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-10-15 12:03:24 +02:00
..
datastore.c vdso/datastore: Gate time data behind CONFIG_GENERIC_GETTIMEOFDAY 2025-10-15 12:03:24 +02:00
getrandom.c vdso: Add generic random data storage 2025-02-21 09:54:01 +01:00
gettimeofday.c vdso/gettimeofday: Add support for auxiliary clocks 2025-07-18 14:09:39 +02:00
Kconfig vdso: Add generic time data storage 2025-02-21 09:54:01 +01:00
Makefile vdso: Add generic time data storage 2025-02-21 09:54:01 +01:00
Makefile.include vdso: Rename included Makefile 2025-02-21 09:54:01 +01:00