From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F05B642CAEE; Tue, 7 Jul 2026 21:49:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783460943; cv=none; b=oZOawNkjJZicSxNEgeR7R8EY9L+nT5oSqqFIozcVuBRwN9IaspApsPgKt1UEeghyuLSX0EP6VM3vW+0UFWvpRes/J+r0LTJwCPwWHmoOKWfpNXVt1TNQ8QaCXI9gjbKBOafeGeGqmLcjw7FLFbErpK0K/5g4ZrzNejJKdUAkgV8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783460943; c=relaxed/simple; bh=oOK+c7JoL9lTPBZpUOhapxRBWuPuxX8wBBNgZO0Kvs4=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=ndfSrkofegsZ+xUhZBxwQymz1E+ApBiBa51J2zwiaMI8tP/wW0SO1WO9WCyWAVtxvi5PHS5ngRxNZ1pjc7CzczwQ7Q1CZHwj9U/lhhh0cHMDHczWMbgXD+pmy3gAwpRWlBO673TGe5sJL6kZqsfxzIOAmv7udYLONaD3ex4MfEQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=OjhdzAFh; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=PShW3Am3; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="OjhdzAFh"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="PShW3Am3" Date: Tue, 07 Jul 2026 21:48:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1783460940; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=f+lrPA6DfnqYZ0mU4BhkWIy3JL1+LUHzvMLdGi8lDOo=; b=OjhdzAFhgw2vDwqZFlZ8osfL+QsK5XdNLe+cyRijtZbREYowX34LpmhdreRLn+LWvE0Afw 1geAaU9HQKTyiCCI6yJaKkeyOXoc+78cIsfbmEMfhXLoXtdsQChsNghge9johex7GEzjfA jWppX3wXK/GtKL8oxa/YShnKEQ9MPNkNxp1bO1idgoSMiZsn737htocWeRf2Z9lAP+pe2E 5Hp8dDbNcyIV4tLcfLmHmj0s9TWXSCLrqNH/H4c5yzJvknJJRE1Y/fQCi0kKWsVW5L5Ay0 kb0hjp/H22ttbK15PAqBudT+LoVUOUYGY5ehNeHJ3BDdlG8ECkqkiUoIWDSwCw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1783460940; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=f+lrPA6DfnqYZ0mU4BhkWIy3JL1+LUHzvMLdGi8lDOo=; b=PShW3Am3ft3rt9/x0qnWAFqfP0VEQbjDLyn55bJi+gPudZM1t9v7nRNk6UI3dweX72fo2n yLgbTicvV0h0lZDw== From: tip-bot2 for Thomas =?utf-8?q?Wei=C3=9Fschuh?= Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] timekeeping: Move the vDSO update declarations into a private header Cc: thomas.weissschuh@linutronix.de, Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260707-timekeeping-header-cleanup-v1-2-e85ad96409a9@linutronix.de> References: <20260707-timekeeping-header-cleanup-v1-2-e85ad96409a9@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178346093867.744054.10838522149170380231.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the timers/core branch of tip: Commit-ID: 79bd39c58f2c6fdbc5fb6300d309606f3cb84ab8 Gitweb: https://git.kernel.org/tip/79bd39c58f2c6fdbc5fb6300d309606f3cb= 84ab8 Author: Thomas Wei=C3=9Fschuh AuthorDate: Tue, 07 Jul 2026 08:07:15 +02:00 Committer: Thomas Gleixner CommitterDate: Tue, 07 Jul 2026 23:48:08 +02:00 timekeeping: Move the vDSO update declarations into a private header All architectures are now fully using the generic vDSO infrastructure. They don't need these declarations anymore to implement the functions in architecture-specific code. Move them to the private header. Signed-off-by: Thomas Wei=C3=9Fschuh Signed-off-by: Thomas Gleixner Link: https://patch.msgid.link/20260707-timekeeping-header-cleanup-v1-2-e85ad= 96409a9@linutronix.de --- include/linux/timekeeper_internal.h | 19 ------------------- kernel/time/time.c | 1 + kernel/time/timekeeping_internal.h | 21 +++++++++++++++++++++ 3 files changed, 22 insertions(+), 19 deletions(-) diff --git a/include/linux/timekeeper_internal.h b/include/linux/timekeeper_i= nternal.h index 58c83d6..264db7c 100644 --- a/include/linux/timekeeper_internal.h +++ b/include/linux/timekeeper_internal.h @@ -190,23 +190,4 @@ struct timekeeper { s32 tai_offset; }; =20 -#ifdef CONFIG_GENERIC_GETTIMEOFDAY - -extern void update_vsyscall(struct timekeeper *tk); -extern void update_vsyscall_tz(void); -extern void vdso_time_update_aux(struct timekeeper *tk); - -#else - -static inline void update_vsyscall(struct timekeeper *tk) -{ -} -static inline void update_vsyscall_tz(void) -{ -} -static inline void vdso_time_update_aux(struct timekeeper *tk) -{ -} -#endif - #endif /* _LINUX_TIMEKEEPER_INTERNAL_H */ diff --git a/kernel/time/time.c b/kernel/time/time.c index 0dd63a9..d1a7efd 100644 --- a/kernel/time/time.c +++ b/kernel/time/time.c @@ -42,6 +42,7 @@ =20 #include #include "timekeeping.h" +#include "timekeeping_internal.h" =20 /* * The timezone where the local system is located. Used as a default by some diff --git a/kernel/time/timekeeping_internal.h b/kernel/time/timekeeping_int= ernal.h index 973ede6..6d719b8 100644 --- a/kernel/time/timekeeping_internal.h +++ b/kernel/time/timekeeping_internal.h @@ -6,6 +6,8 @@ #include #include =20 +struct timekeeper; + /* * timekeeping debug functions */ @@ -48,4 +50,23 @@ void timekeeper_unlock_irqrestore(unsigned long flags); /* NTP specific interface to access the current seconds value */ long ktime_get_ntp_seconds(unsigned int id); =20 +#ifdef CONFIG_GENERIC_GETTIMEOFDAY + +extern void update_vsyscall(struct timekeeper *tk); +extern void update_vsyscall_tz(void); +extern void vdso_time_update_aux(struct timekeeper *tk); + +#else + +static inline void update_vsyscall(struct timekeeper *tk) +{ +} +static inline void update_vsyscall_tz(void) +{ +} +static inline void vdso_time_update_aux(struct timekeeper *tk) +{ +} +#endif + #endif /* _TIMEKEEPING_INTERNAL_H */