]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
hrtimer: Fix softirq base check in update_needs_ipi()
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Wed, 7 Jan 2026 10:39:24 +0000 (11:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Jan 2026 10:21:28 +0000 (11:21 +0100)
commitd53b8e05be46aec274b0067590a0c4f989e00830
treead6db6b7b345e6e5d513733fa348cced3c42271d
parent06e26287f2e349a28ad363941ffd9076bfed8b2e
hrtimer: Fix softirq base check in update_needs_ipi()

commit 05dc4a9fc8b36d4c99d76bbc02aa9ec0132de4c2 upstream.

The 'clockid' field is not the correct way to check for a softirq base.

Fix the check to correctly compare the base type instead of the clockid.

Fixes: 1e7f7fbcd40c ("hrtimer: Avoid more SMP function calls in clock_was_set()")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260107-hrtimer-clock-base-check-v1-1-afb5dbce94a1@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/time/hrtimer.c