From: "tip-bot2 for Thomas Weißschuh" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: thomas.weissschuh@linutronix.de,
Thomas Gleixner <tglx@kernel.org>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [tip: timers/core] timekeeping: Fold vdso_time_update_aux() declarations into the generic ifdeffery
Date: Tue, 07 Jul 2026 21:49:00 -0000 [thread overview]
Message-ID: <178346094006.744054.12090701092722192122.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20260707-timekeeping-header-cleanup-v1-1-e85ad96409a9@linutronix.de>
The following commit has been merged into the timers/core branch of tip:
Commit-ID: 6e435911394b05c91b92d4c332c455ec569e22fb
Gitweb: https://git.kernel.org/tip/6e435911394b05c91b92d4c332c455ec569e22fb
Author: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
AuthorDate: Tue, 07 Jul 2026 08:07:14 +02:00
Committer: Thomas Gleixner <tglx@kernel.org>
CommitterDate: Tue, 07 Jul 2026 23:48:08 +02:00
timekeeping: Fold vdso_time_update_aux() declarations into the generic ifdeffery
The only caller of vdso_time_update_aux() is already gated behind
CONFIG_POSIX_AUX. The additional check in the header files is not
necessary.
Remove it and then fold the declarations into the existing
CONFIG_GENERIC_GETTIMEOFDAY ifdeffery.
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260707-timekeeping-header-cleanup-v1-1-e85ad96409a9@linutronix.de
---
include/linux/timekeeper_internal.h | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/include/linux/timekeeper_internal.h b/include/linux/timekeeper_internal.h
index 4486dfd..58c83d6 100644
--- a/include/linux/timekeeper_internal.h
+++ b/include/linux/timekeeper_internal.h
@@ -194,6 +194,7 @@ struct timekeeper {
extern void update_vsyscall(struct timekeeper *tk);
extern void update_vsyscall_tz(void);
+extern void vdso_time_update_aux(struct timekeeper *tk);
#else
@@ -203,12 +204,9 @@ static inline void update_vsyscall(struct timekeeper *tk)
static inline void update_vsyscall_tz(void)
{
}
-#endif
-
-#if defined(CONFIG_GENERIC_GETTIMEOFDAY) && defined(CONFIG_POSIX_AUX_CLOCKS)
-extern void vdso_time_update_aux(struct timekeeper *tk);
-#else
-static inline void vdso_time_update_aux(struct timekeeper *tk) { }
+static inline void vdso_time_update_aux(struct timekeeper *tk)
+{
+}
#endif
#endif /* _LINUX_TIMEKEEPER_INTERNAL_H */
next prev parent reply other threads:[~2026-07-07 21:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-07 6:07 [PATCH 0/2] timekeeping: Move the vDSO update declarations into a private header Thomas Weißschuh
2026-07-07 6:07 ` [PATCH 1/2] timekeeping: Fold vdso_time_update_aux() declarations into the generic ifdeffery Thomas Weißschuh
2026-07-07 21:49 ` tip-bot2 for Thomas Weißschuh [this message]
2026-07-07 6:07 ` [PATCH 2/2] timekeeping: Move the vDSO update declarations into a private header Thomas Weißschuh
2026-07-07 21:48 ` [tip: timers/core] " 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=178346094006.744054.12090701092722192122.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.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®