linux/include/vdso
Thomas Weißschuh 1bafc1f659 vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY
Some code, for example clocksource drivers, may want to use the vDSO
clockmode constants even when CONFIG_GENERIC_GETTIMEOFDAY=n.
But the symbols are completely hidden in that case, making ugly
ifdeffery necessary.

Always provide the enum definitions.

As not all architectures provide asm/vdso/clocksource.h,
provide an empty stub in asm-generic for it.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20260724-vdso-arch-clockmodes-v4-2-ddbe447be860@linutronix.de
2026-08-10 16:25:21 +02:00
..
align.h vdso: Introduce vdso/align.h 2025-02-21 09:54:01 +01:00
auxclock.h vdso: Introduce aux_clock_resolution_ns() 2025-07-18 13:45:32 +02:00
bits.h vdso/bits.h: Add BIT_ULL() for the sake of consistency 2023-01-31 14:42:10 +01:00
cache.h vdso: Introduce vdso/cache.h 2025-03-08 14:37:39 +01:00
clocksource.h vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY 2026-08-10 16:25:21 +02:00
const.h linux/const.h: Extract common header for vDSO 2020-03-21 15:23:53 +01:00
datapage.h vdso: Replace __ASSEMBLY__ with __ASSEMBLER__ in header files 2026-06-29 15:44:08 +02:00
futex.h futex: Provide infrastructure to plug the non contended robust futex unlock race 2026-06-03 11:38:52 +02:00
getrandom.h random: vDSO: add a __vdso_getrandom prototype for all architectures 2024-09-13 17:28:35 +02:00
gettime.h vdso: Add prototype for __vdso_clock_getres_time64() 2026-01-13 14:42:23 +01:00
helpers.h vdso: Replace __ASSEMBLY__ with __ASSEMBLER__ in header files 2026-06-29 15:44:08 +02:00
jiffies.h jiffies: Remove obsolete SHIFTED_HZ comment 2025-09-03 11:59:28 +02:00
ktime.h linux/ktime.h: Extract common header for vDSO 2020-03-21 15:23:59 +01:00
limits.h linux/limits.h: Extract common header for vDSO 2020-03-21 15:23:54 +01:00
math64.h vdso, math64: Provide mul_u64_u32_add_u64_shr() 2024-04-08 15:03:07 +02:00
page.h vdso: Correct typo in PAGE_SHIFT comment 2025-01-15 11:07:08 +01:00
processor.h vdso: Replace __ASSEMBLY__ with __ASSEMBLER__ in header files 2026-06-29 15:44:08 +02:00
time.h linux/time.h: Extract common header for vDSO 2020-03-21 15:23:57 +01:00
time32.h linux/time32.h: Extract common header for vDSO 2020-03-21 15:23:57 +01:00
time64.h time64.h: Consolidated PSEC_PER_SEC definition 2021-04-06 16:32:17 -07:00
unaligned.h vdso: Switch get/put_unaligned() from packed struct to memcpy() 2026-01-14 08:56:41 +01:00
vsyscall.h vdso: Replace __ASSEMBLY__ with __ASSEMBLER__ in header files 2026-06-29 15:44:08 +02:00