From nobody Tue Sep 29 08:25:36 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 B66F93F8EA1; Mon, 10 Aug 2026 14:43:28 +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=1786373010; cv=none; b=AP1+gVZQB47qBHI+WCcHA2fUXId4o4QAJABLlHcoQCYZj0UmvRvIaxZtC94rg0BMnCG8mT442wT6gDlVU8RJ7SCGJ8HI7VDPF5GfEm5/beCIEV9eHu5Bi+9C6thsF5AaB7ptJ98Q26wD9JIPqYxi39vZHIbTMtI4lK93FmILHE0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786373010; c=relaxed/simple; bh=9iOtkBSQiQ9jRSIAPXEJB+E0AhTckoYdmLLwvB+GbEc=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=YjXLz90Mijq0xf7Z/lstOHtJT7iSa8x20bal9nOjZPIT+3qlzKa0EhM+8Nd+PS6a+gTpoQyIj2Ryt3L9dehMWBkxtbJBBORpKP2OxNN1j6O2G0pvEP80F32bQTohURErciR6oQeGOCsTsSZGwqhrrAFJ3ggvCtZNmjY95BDctE4= 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=Mox1aqtX; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Hrdq/kRt; 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="Mox1aqtX"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Hrdq/kRt" Date: Mon, 10 Aug 2026 14:43:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1786373006; 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=khe3Tqbt4dqFH/UfIs3WoK40AU972487zd2UQWw+8e4=; b=Mox1aqtXrLZ3XYAifecenlRB7KJ541wGwAF76eJ1hlYWwqgiJVATP6zYGtOS61jRyIBEKg QoyQClPTMbQIyUvMgGClQcmEKuHMpo7PorrMg31IDPcriC6170BcfWXaRCUKdeEMDqe13t 6/W6vwGZoHiCFpJKYI2fNFewnIXcJXlGaG7ucK4PaH1OIpa+m5/UY1v2SGf16E4SOGwpu0 BAHxPaBYrHH8l5JhnUVCKejp0Vz6wRLs0pCyTx8Y9kgLNxMRYJGOtv23Sc0qeiebvwv4eP cNIincMcxo5VWshM8HxFfeMa5LP7DEPLMiTJ4Jgcxd+VKyfcBENW+pLgMoe+fw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1786373006; 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=khe3Tqbt4dqFH/UfIs3WoK40AU972487zd2UQWw+8e4=; b=Hrdq/kRtHgRmiwRBYe9iv2K1Ff7N+2AELIO3aMXcai0w3GBFg5OqSikljoiO42dCAPHceE N52UvESczWLVe8Dw== From: "tip-bot2 for Karl Mehltretter" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/urgent] tick: Include ktime.h and jiffies.h in linux/tick.h Cc: Karl Mehltretter , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260722062141.19671-1-kmehltretter@gmail.com> References: <20260722062141.19671-1-kmehltretter@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178637300458.442315.879803661573840889.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/urgent branch of tip: Commit-ID: 45f8dffc0714c3ef49c83e5bba4c56a4499bd5fc Gitweb: https://git.kernel.org/tip/45f8dffc0714c3ef49c83e5bba4c56a44= 99bd5fc Author: Karl Mehltretter AuthorDate: Wed, 22 Jul 2026 08:21:41 +02:00 Committer: Thomas Gleixner CommitterDate: Mon, 10 Aug 2026 16:38:33 +02:00 tick: Include ktime.h and jiffies.h in linux/tick.h The !CONFIG_NO_HZ_COMMON stubs use ktime_add(), ktime_get() and TICK_NSEC, but tick.h includes neither nor . Most configurations build only because those declarations arrive transitively. Commit 6440966067dc ("cpuset: Remove cpuset_cpu_is_isolated()") removed from . The include chain had been satisfying these declarations before was parsed. Commit 8aa76aa41589 ("ring-buffer: Use a housekeeping CPU to wake up waiters") then added to ring_buffer.c ahead of any header which provides them. Neither change is wrong on its own: the failure requires both and appeared in v7.0. ARM rpc_defconfig + CONFIG_FUNCTION_TRACER fails to build: $ make ARCH=3Darm rpc_defconfig $ ./scripts/config -e FTRACE -e FUNCTION_TRACER $ make ARCH=3Darm olddefconfig $ make ARCH=3Darm kernel/trace/ring_buffer.o In file included from include/linux/sched/isolation.h:6, from kernel/trace/ring_buffer.c:8: include/linux/tick.h: In function 'tick_nohz_get_next_hrtimer': include/linux/tick.h:156:9: error: implicit declaration of function 'ktime_add'; did you mean 'size_add'? include/linux/tick.h:156:19: error: implicit declaration of function 'ktime_get'; did you mean 'time_init'? include/linux/tick.h:156:32: error: 'TICK_NSEC' undeclared Include the headers the file actually uses. Fixes: 8aa76aa41589 ("ring-buffer: Use a housekeeping CPU to wake up waiter= s") Signed-off-by: Karl Mehltretter Signed-off-by: Thomas Gleixner Assisted-by: Codex:gpt-5.6-sol Link: https://patch.msgid.link/20260722062141.19671-1-kmehltretter@gmail.com --- include/linux/tick.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/tick.h b/include/linux/tick.h index 1cf4651..47750cc 100644 --- a/include/linux/tick.h +++ b/include/linux/tick.h @@ -7,6 +7,8 @@ =20 #include #include +#include +#include #include #include #include