]> www.infradead.org Git - users/jedix/linux-maple.git/commit
posix-cpu-timers: Use @now instead of @val for clarity
authorThomas Gleixner <tglx@linutronix.de>
Mon, 10 Jun 2024 16:42:22 +0000 (18:42 +0200)
committerFrederic Weisbecker <frederic@kernel.org>
Mon, 29 Jul 2024 19:57:34 +0000 (21:57 +0200)
commitc44462661e4c5967c5df451393af727d1886c8ea
tree62f5fc81948678b8ab9277b04eb59b349ad39405
parentbd29d773ea8d2c7fc36dc3f70d4c9d1cf404aa4b
posix-cpu-timers: Use @now instead of @val for clarity

posix_cpu_timer_set() uses @val as variable for the current time. That's
confusing at best.

Use @now as anywhere else and rewrite the confusing comment about clock
sampling.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
kernel/time/posix-cpu-timers.c