From nobody Tue Apr 7 22:04:10 2026 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 9FD733DD526; Wed, 11 Mar 2026 14:51:40 +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=1773240701; cv=none; b=dY+fs0/84xrUgTGoGnMQkCSo1ANFQy8tvZFCtJYyFdUfBMEJQQ1iicbDkip2LxhBSb1aOBPfORJ5WBO2TP8aIRXSvTUp6dz7K8JVugcuSzaC1ki280GgY3yQvFmZE3W5ns59p/K34HtqKRab/mQYGT/Ir8FLIYqQH1jY3nEO4fo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773240701; c=relaxed/simple; bh=KaqSodWhNGO80btqYRz0JKFc4woNVGrpRB7WP0Aj/5s=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=ITuwYe/8KasH6jNfUW/7VFed9rATWsAN8X6KZKuj8jMPxY2MWM9sq5G4LvF/yb8+fH63MzkCZb0wWngADuVEKLtx9wpVwMvklvAkByBpS/xiZWy74TeBtVzGl/K2EGdAOs/id6S1OeSRBHGdiqdVhaDvfiQVk9njOiCmp34V2i0= 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=lS2BmoLh; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=8sun46Xf; 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="lS2BmoLh"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="8sun46Xf" Date: Wed, 11 Mar 2026 14:51:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1773240698; 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=Q8kFeqkffGqJ3XtaIxGCt4mHUzBEes/eiLagpb6EO28=; b=lS2BmoLhWKwcYa4fPb9X4j5l7OaHCGMmMyNNjPMCxDz5jaQF57OhWbsWk18ZKTPMpRU4Iw JsNP2SqxcBv3XEJJy7MaQgRbewlR03zDr+vTqSJGzIqvVVAX2zy2EhWZWJoNPzhTa6150n eYl6fKAaD/oCx6QVK9Vc5GSpdus54CkLXKmf//EU/DKKYjUYuvINLpbVqByBrbBXWna0yj 1HW4e9FNT0X4Bn+QaiamL2kiIyCyonqkQLUIrN+jWtD1GWSB7gYiq63VZqNSPd8LUPRLRE JLplGV5kVxdDS6dBoQM4846EVIKVHcBiowYpIvNpXGKiyKqiVQ8eNDEbKAtG7Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1773240698; 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=Q8kFeqkffGqJ3XtaIxGCt4mHUzBEes/eiLagpb6EO28=; b=8sun46XflRfoN0KQ25Cs/hASFL1TE9Tp98hqxn+6hf+6zt5kUGSimRkxofGTVyy7m2NxDW /rN3/Eyr/kZffyBQ== 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/vdso] vdso/datapage: Remove inclusion of gettimeofday.h Cc: thomas.weissschuh@linutronix.de, Thomas Gleixner , "Borislav Petkov (AMD)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260227-vdso-header-cleanups-v2-12-35d60acf7410@linutronix.de> References: <20260227-vdso-header-cleanups-v2-12-35d60acf7410@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177324069712.1647592.1901363403045964806.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/vdso branch of tip: Commit-ID: 750d8cc84901757d9e5fe96207f5aa6b3e2acf92 Gitweb: https://git.kernel.org/tip/750d8cc84901757d9e5fe96207f5aa6b3= e2acf92 Author: Thomas Wei=C3=9Fschuh AuthorDate: Fri, 27 Feb 2026 07:44:38 +01:00 Committer: Borislav Petkov (AMD) CommitterDate: Wed, 11 Mar 2026 15:22:32 +01:00 vdso/datapage: Remove inclusion of gettimeofday.h vdso/datapage.h is useful without pulling in the architecture-specific gettimeofday() helpers. Move the include to the only users which needs it. Signed-off-by: Thomas Wei=C3=9Fschuh Signed-off-by: Thomas Gleixner Signed-off-by: Borislav Petkov (AMD) Link: https://patch.msgid.link/20260227-vdso-header-cleanups-v2-12-35d60acf= 7410@linutronix.de --- include/vdso/datapage.h | 11 ----------- lib/vdso/gettimeofday.c | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/vdso/datapage.h b/include/vdso/datapage.h index 07c2e08..339a34e 100644 --- a/include/vdso/datapage.h +++ b/include/vdso/datapage.h @@ -184,17 +184,6 @@ enum vdso_pages { VDSO_NR_PAGES }; =20 -/* - * The generic vDSO implementation requires that gettimeofday.h - * provides: - * - __arch_get_hw_counter(): to get the hw counter based on the - * clock_mode. - * - gettimeofday_fallback(): fallback for gettimeofday. - * - clock_gettime_fallback(): fallback for clock_gettime. - * - clock_getres_fallback(): fallback for clock_getres. - */ -#include - #else /* !__ASSEMBLY__ */ =20 #ifdef CONFIG_VDSO_GETRANDOM diff --git a/lib/vdso/gettimeofday.c b/lib/vdso/gettimeofday.c index ad79642..a5798bd 100644 --- a/lib/vdso/gettimeofday.c +++ b/lib/vdso/gettimeofday.c @@ -12,6 +12,17 @@ #include #include =20 +/* + * The generic vDSO implementation requires that gettimeofday.h + * provides: + * - __arch_get_hw_counter(): to get the hw counter based on the + * clock_mode. + * - gettimeofday_fallback(): fallback for gettimeofday. + * - clock_gettime_fallback(): fallback for clock_gettime. + * - clock_getres_fallback(): fallback for clock_getres. + */ +#include + /* Bring in default accessors */ #include =20