Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

time: Fix references to _msecs_to_jiffies() handling of values

The details about the handling of the "normal" values were moved
to the _msecs_to_jiffies() helpers in commit ca42aaf0c861 ("time:
Refactor msecs_to_jiffies"). However, the same commit still mentioned
__msecs_to_jiffies() in the added documentation.

Thus point to _msecs_to_jiffies() instead.

Fixes: ca42aaf0c861 ("time: Refactor msecs_to_jiffies")
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20241025110141.157205-2-ojeda@kernel.org

authored by

Miguel Ojeda and committed by
Thomas Gleixner
92b043fd b05aefc1

+2 -2
+1 -1
include/linux/jiffies.h
··· 502 502 * - all other values are converted to jiffies by either multiplying 503 503 * the input value by a factor or dividing it with a factor and 504 504 * handling any 32-bit overflows. 505 - * for the details see __msecs_to_jiffies() 505 + * for the details see _msecs_to_jiffies() 506 506 * 507 507 * msecs_to_jiffies() checks for the passed in value being a constant 508 508 * via __builtin_constant_p() allowing gcc to eliminate most of the
+1 -1
kernel/time/time.c
··· 556 556 * - all other values are converted to jiffies by either multiplying 557 557 * the input value by a factor or dividing it with a factor and 558 558 * handling any 32-bit overflows. 559 - * for the details see __msecs_to_jiffies() 559 + * for the details see _msecs_to_jiffies() 560 560 * 561 561 * msecs_to_jiffies() checks for the passed in value being a constant 562 562 * via __builtin_constant_p() allowing gcc to eliminate most of the