Re: [PATCH] tick: Include ktime.h and jiffies.h in linux/tick.h
From: Karl Mehltretter
Date: Sat Aug 08 2026 - 16:28:39 EST
On Wed, Jul 22, 2026 at 08:21:41AM +0100, Karl Mehltretter wrote:
> The !CONFIG_NO_HZ_COMMON stubs use ktime_add(), ktime_get() and
> TICK_NSEC, but tick.h includes neither <linux/ktime.h> nor
> <linux/jiffies.h>. Most configurations build only because those
> declarations arrive transitively.
> Include the headers the file actually uses.
>
> Fixes: 8aa76aa41589 ("ring-buffer: Use a housekeeping CPU to wake up waiters")
> Assisted-by: Codex:gpt-5.6-sol
> Signed-off-by: Karl Mehltretter <kmehltretter@xxxxxxxxx>
Friendly ping on this patch.
Thanks,
Karl