From: "tip-bot2 for Thomas Weißschuh" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>,
thomas.weissschuh@linutronix.de,
Thomas Gleixner <tglx@kernel.org>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [tip: timers/vdso] vdso: Add prototype for __vdso_clock_getres_time64()
Date: Tue, 13 Jan 2026 13:47:42 -0000 [thread overview]
Message-ID: <176831206210.510.11960132519582082267.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20251223-vdso-compat-time32-v1-1-97ea7a06a543@linutronix.de>
The following commit has been merged into the timers/vdso branch of tip:
Commit-ID: b205656daf932c06aff424de5d6d01faf60faa5b
Gitweb: https://git.kernel.org/tip/b205656daf932c06aff424de5d6d01faf60faa5b
Author: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
AuthorDate: Tue, 23 Dec 2025 07:59:12 +01:00
Committer: Thomas Gleixner <tglx@kernel.org>
CommitterDate: Tue, 13 Jan 2026 14:42:23 +01:00
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 | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/vdso/gettime.h b/include/vdso/gettime.h
index 9ac1618..16a0a05 100644
--- a/include/vdso/gettime.h
+++ b/include/vdso/gettime.h
@@ -20,5 +20,6 @@ int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts);
__kernel_old_time_t __vdso_time(__kernel_old_time_t *t);
int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz);
int __vdso_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts);
+int __vdso_clock_getres_time64(clockid_t clock, struct __kernel_timespec *ts);
#endif
next prev parent reply other threads:[~2026-01-13 13:47 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-23 6:59 [PATCH 0/9] vDSO: Provide clock_getres_time64() where applicable Thomas Weißschuh
2025-12-23 6:59 ` [PATCH 1/9] vdso: Add prototype for __vdso_clock_getres_time64() Thomas Weißschuh
2026-01-13 13:47 ` tip-bot2 for Thomas Weißschuh [this message]
2025-12-23 6:59 ` [PATCH 2/9] selftests: vDSO: vdso_config: Add configurations for clock_getres_time64() Thomas Weißschuh
2026-01-13 13:47 ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2025-12-23 6:59 ` [PATCH 3/9] selftests: vDSO: vdso_test_abi: Use UAPI system call numbers Thomas Weißschuh
2026-01-13 13:47 ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2025-12-23 6:59 ` [PATCH 4/9] selftests: vDSO: vdso_test_abi: Add test for clock_getres_time64() Thomas Weißschuh
2026-01-13 13:47 ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2025-12-23 6:59 ` [PATCH 5/9] x86/vdso: Provide clock_getres_time64() for x86-32 Thomas Weißschuh
2026-01-13 13:47 ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2025-12-23 6:59 ` [PATCH 6/9] ARM: VDSO: also patch out __vdso_clock_getres() if unavailable Thomas Weißschuh
2026-01-13 13:47 ` [tip: timers/vdso] ARM: VDSO: Patch " tip-bot2 for Thomas Weißschuh
2025-12-23 6:59 ` [PATCH 7/9] ARM: VDSO: provide clock_getres_time64() Thomas Weißschuh
2026-01-13 13:47 ` [tip: timers/vdso] ARM: VDSO: Provide clock_getres_time64() tip-bot2 for Thomas Weißschuh
2025-12-23 6:59 ` [PATCH 8/9] arm64: vdso32: " Thomas Weißschuh
2026-01-05 20:55 ` Will Deacon
2026-01-13 13:47 ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
2025-12-23 6:59 ` [PATCH 9/9] MIPS: vdso: Provide getres_time64() for 32-bit ABIs Thomas Weißschuh
2026-01-13 13:47 ` [tip: timers/vdso] " tip-bot2 for Thomas Weißschuh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=176831206210.510.11960132519582082267.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=tglx@kernel.org \
--cc=thomas.weissschuh@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®