]> git.ipfire.org Git - thirdparty/linux.git/commit
tick/sched: Split out jiffies update helper function
authorRichard Cochran (linutronix GmbH) <richardcochran@gmail.com>
Wed, 21 Feb 2024 09:05:44 +0000 (10:05 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 22 Feb 2024 16:52:32 +0000 (17:52 +0100)
commit4c532939aa2e9345ee346bc69d3d12d56d5aa9aa
tree3091c13f6d4a736178d95bb761d6a3c2b5adf4cf
parent89f01e10c99a5ca2ff88b545fad763d360cdbfc8
tick/sched: Split out jiffies update helper function

The logic to get the time of the last jiffies update will be needed by
the timer pull model as well.

Move the code into a global function in anticipation of the new caller.

No functional change.

Signed-off-by: Richard Cochran (linutronix GmbH) <richardcochran@gmail.com>
Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lore.kernel.org/r/20240221090548.36600-17-anna-maria@linutronix.de
kernel/time/tick-internal.h
kernel/time/tick-sched.c