From 5fc054ecd9610345b549f38a59a68ade40be6305 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 8 Aug 2021 02:13:49 +0200 Subject: [PATCH] vdso.7: Update CLOCK_REALTIME_COARSE and CLOCK_MONOTONIC_COARSE info for powerpc See https://bugzilla.kernel.org/show_bug.cgi?id=213419 ppc/32 and ppc/64 sections both have the following note: The CLOCK_REALTIME_COARSE and CLOCK_MONOTONIC_COARSE clocks are not supported by the __kernel_clock_getres and __kernel_clock_gettime interfaces; the kernel falls back to the real system call This note has been wrong from quite some time now, since commit 654abc69ef2e ("powerpc/vdso32: Add support for CLOCK_{REALTIME/MONOTONIC}_COARSE") and commit 5c929885f1bb ("powerpc/vdso64: Add support for CLOCK_{REALTIME/MONOTONIC}_COARSE") Reported-by: Christophe Leroy Signed-off-by: Michael Kerrisk --- man7/vdso.7 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/man7/vdso.7 b/man7/vdso.7 index ef6bef5bd..39d6dc4ad 100644 --- a/man7/vdso.7 +++ b/man7/vdso.7 @@ -386,7 +386,9 @@ __kernel_sync_dicache_p5 LINUX_2.6.15 .ft P \} .PP -The +In kernel versions before Linux 5.6, +.\" commit 654abc69ef2e69712e6d4e8a6cb9292b97a4aa39 +the .B CLOCK_REALTIME_COARSE and .B CLOCK_MONOTONIC_COARSE @@ -424,7 +426,9 @@ __kernel_sync_dicache_p5 LINUX_2.6.15 .ft P \} .PP -The +In kernel versions before Linux 4.16, +.\" commit 5c929885f1bb4b77f85b1769c49405a0e0f154a1 +the .B CLOCK_REALTIME_COARSE and .B CLOCK_MONOTONIC_COARSE