]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
vdso: Add prototype for __vdso_clock_getres_time64()
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 23 Dec 2025 06:59:12 +0000 (07:59 +0100)
committerThomas Gleixner <tglx@kernel.org>
Tue, 13 Jan 2026 13:42:23 +0000 (14:42 +0100)
commitb205656daf932c06aff424de5d6d01faf60faa5b
treebb6cbd702fb5b07a786f621e22c1b00be5cb02e8
parent0f61b1860cc3f52aef9036d7235ed1f017632193
vdso: Add prototype for __vdso_clock_getres_time64()

For consistency with __vdso_clock_gettime64() there should also be a
64-bit variant of clock_getres(). This will allow the extension of
CONFIG_COMPAT_32BIT_TIME to the vDSO and finally the removal of 32-bit
time types from the kernel and UAPI. The generic vDSO library already
provides nearly all necessary building blocks for architectures to
provide this function. Only a prototype is missing.

Add the prototype to the generic header so architectures can start
providing this function.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20251223-vdso-compat-time32-v1-1-97ea7a06a543@linutronix.de
include/vdso/gettime.h