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
auxclock.h
bits.h
cache.h
clocksource.h vDSO: Make clockmode constants available without CONFIG_GENERIC_GETTIMEOFDAY 2026-08-10 16:25:21 +02:00
const.h
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
gettime.h
helpers.h vdso: Replace __ASSEMBLY__ with __ASSEMBLER__ in header files 2026-06-29 15:44:08 +02:00
jiffies.h
ktime.h
limits.h
math64.h
page.h
processor.h vdso: Replace __ASSEMBLY__ with __ASSEMBLER__ in header files 2026-06-29 15:44:08 +02:00
time.h
time32.h
time64.h
unaligned.h
vsyscall.h vdso: Replace __ASSEMBLY__ with __ASSEMBLER__ in header files 2026-06-29 15:44:08 +02:00