aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna-Maria Behnsen <[email protected]>2024-07-01 16:47:56 +0200
committerThomas Gleixner <[email protected]>2024-07-03 21:27:04 +0200
commit7239ae7f8349fba53c74b559b2059b1c20e8966d (patch)
tree58cd5211acf7b8d431ca6c4dce5c3144a6ea3d21
parentd00106bbdfa82732c23cba44491c38f8c410d865 (diff)
x86/vdso: Fix function reference in comment
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 <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Vincenzo Frascino <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--arch/x86/include/asm/vdso/gettimeofday.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/include/asm/vdso/gettimeofday.h b/arch/x86/include/asm/vdso/gettimeofday.h
index 0ef36190abe6..b2d2df026f6e 100644
--- a/arch/x86/include/asm/vdso/gettimeofday.h
+++ b/arch/x86/include/asm/vdso/gettimeofday.h
@@ -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)) {
/*