]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
x86/vdso: Fix function reference in comment
authorAnna-Maria Behnsen <anna-maria@linutronix.de>
Mon, 1 Jul 2024 14:47:56 +0000 (16:47 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 3 Jul 2024 19:27:04 +0000 (21:27 +0200)
Replace the reference to the non-existent function arch_vdso_cycles_valid()
by the proper function arch_vdso_cycles_ok().

Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Link: https://lore.kernel.org/r/20240701-vdso-cleanup-v1-3-36eb64e7ece2@linutronix.de
arch/x86/include/asm/vdso/gettimeofday.h

index 0ef36190abe613f0fdeb38fd1d2ebbeb6075f42f..b2d2df026f6e707b8164d8842c33edea9a658466 100644 (file)
@@ -328,9 +328,8 @@ static __always_inline u64 vdso_calc_ns(const struct vdso_data *vd, u64 cycles,
         * due to unsigned comparison.
         *
         * Due to the MSB/Sign-bit being used as invalid marker (see
-        * arch_vdso_cycles_valid() above), the effective mask is S64_MAX,
-        * but that case is also unlikely and will also take the unlikely path
-        * here.
+        * arch_vdso_cycles_ok() above), the effective mask is S64_MAX, but that
+        * case is also unlikely and will also take the unlikely path here.
         */
        if (unlikely(delta > vd->max_cycles)) {
                /*