From nobody Thu Apr 9 03:30:02 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 134723D667D; Wed, 11 Mar 2026 09:31:19 +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=1773221480; cv=none; b=f6XKOUCAOW1UkfpTM7cGIaBKp5hIq7ugEhfskMZeB/JbbdCwvsEki24B9LINfDlXQAspRii2FxvUYjBjqagEAVLTxElXVljQnLONM0YHj8FmKbtCWYyPs5n0q9D6LoNpcUVza0G/6YJaJw5nFVY0YNRnZ6jUnhQskKyNNvuCiEY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773221480; c=relaxed/simple; bh=vz39M+PllVNjUcNspnaSPwNxBWniTrvKrI8Sx0JsPHU=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=uzzxkeC6zTwkt7dO1gwPoM/b901miRGFRipYQmETCJXVTm80y74Cec5QofyWjkTLiWFDry/ve5HyFufVyLXfqzWh84ne30VdmDGqmnwSHC+thpyb6jWXmfV5ceC2bKXO0X0nY1FuPOrQ6QyMojSH1SitrAsDJk35h0+HvWkI7XM= 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=X08sRRpg; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=aepbj7nu; 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="X08sRRpg"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="aepbj7nu" Date: Wed, 11 Mar 2026 09:31:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1773221477; 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=fVOqwAvCLAyLyAtjg1z/OdqQfV+eW+BGP3fnufQtJIE=; b=X08sRRpgxV7IS0WGmkPUficPBRWsGoU2vHH1N08ApnBfbixznfGvdt/CVMw+2zX3XT3hHu AoqHcyg1f7dlsdxhbDcNanHyeO5izP1M/QRzEV7fKG+XBCliEKwsLTrZVxL/6lzBgn8a5e n7gM7NjzXyX5KPja4PDJyfKvw2cGQbt/mCjiOV/qGA7gwIRMYNbtQjj2C3WlyOkfL0Az6v SB3dHkPT21wDvVxgGCffixiclnNeqlTy4mq7tTR6eFtyA2jdlS08/oUCXgBIRIgNcdEKzL sv8vzxrzfPebbJI60tFhVu+t8NVdGYHUXP9EzCFF80Xgip9GTKmpvevZTnTfww== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1773221477; 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=fVOqwAvCLAyLyAtjg1z/OdqQfV+eW+BGP3fnufQtJIE=; b=aepbj7nuBJ6KFPRVs1u4d5sY0JNFXU6gLNEWsjrdvlY0GKZXTKgxDjRr/IW2mrYMkVwFLx QU8KmSvWrV2vjqAA== 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 , 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: <177322147624.1647592.10718543902649176403.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: 25141bcd25a8c1059fa43242eb291309d78e5578 Gitweb: https://git.kernel.org/tip/25141bcd25a8c1059fa43242eb291309d= 78e5578 Author: Thomas Wei=C3=9Fschuh AuthorDate: Fri, 27 Feb 2026 07:44:38 +01:00 Committer: Thomas Gleixner CommitterDate: Wed, 11 Mar 2026 10:27:38 +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 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