Skip to content

Commit 158009f

Browse files
geertuKAGA-KOKO
authored andcommitted
timekeeping: Fix references to nonexistent ktime_get_fast_ns()
There was never a function named ktime_get_fast_ns(). Presumably these should refer to ktime_get_mono_fast_ns() instead. Fixes: c1ce406 ("timekeeping: Fix up function documentation for the NMI safe accessors") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: John Stultz <jstultz@google.com> Link: https://lore.kernel.org/r/06df7b3cbd94f016403bbf6cd2b38e4368e7468f.1682516546.git.geert+renesas@glider.be
1 parent 7e0664b commit 158009f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

kernel/time/timekeeping.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ EXPORT_SYMBOL_GPL(ktime_get_raw_fast_ns);
526526
* partially updated. Since the tk->offs_boot update is a rare event, this
527527
* should be a rare occurrence which postprocessing should be able to handle.
528528
*
529-
* The caveats vs. timestamp ordering as documented for ktime_get_fast_ns()
529+
* The caveats vs. timestamp ordering as documented for ktime_get_mono_fast_ns()
530530
* apply as well.
531531
*/
532532
u64 notrace ktime_get_boot_fast_ns(void)
@@ -576,7 +576,7 @@ static __always_inline u64 __ktime_get_real_fast(struct tk_fast *tkf, u64 *mono)
576576
/**
577577
* ktime_get_real_fast_ns: - NMI safe and fast access to clock realtime.
578578
*
579-
* See ktime_get_fast_ns() for documentation of the time stamp ordering.
579+
* See ktime_get_mono_fast_ns() for documentation of the time stamp ordering.
580580
*/
581581
u64 ktime_get_real_fast_ns(void)
582582
{

0 commit comments

Comments
 (0)