diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2020-11-26 14:10:06 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-12-03 15:01:11 +0100 |
commit | d0e3fc69d00d1f50d22d6b6acfc555ccda80ad1e (patch) | |
tree | f6416963aa0c5d8e4a5a44b1ff1c5744cf7c65ad /arch/powerpc/include/asm/vdso | |
parent | powerpc/vdso: Switch VDSO to generic C implementation. (diff) | |
download | linux-d0e3fc69d00d1f50d22d6b6acfc555ccda80ad1e.tar.xz linux-d0e3fc69d00d1f50d22d6b6acfc555ccda80ad1e.zip |
powerpc/vdso: Provide __kernel_clock_gettime64() on vdso32
Provides __kernel_clock_gettime64() on vdso32. This is the
64 bits version of __kernel_clock_gettime() which is
y2038 compliant.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201126131006.2431205-9-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/include/asm/vdso')
-rw-r--r-- | arch/powerpc/include/asm/vdso/gettimeofday.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/vdso/gettimeofday.h b/arch/powerpc/include/asm/vdso/gettimeofday.h index 6f56a6bce615..0f95569e8fc3 100644 --- a/arch/powerpc/include/asm/vdso/gettimeofday.h +++ b/arch/powerpc/include/asm/vdso/gettimeofday.h @@ -187,6 +187,8 @@ int __c_kernel_clock_getres(clockid_t clock_id, struct __kernel_timespec *res, #else int __c_kernel_clock_gettime(clockid_t clock, struct old_timespec32 *ts, const struct vdso_data *vd); +int __c_kernel_clock_gettime64(clockid_t clock, struct __kernel_timespec *ts, + const struct vdso_data *vd); int __c_kernel_clock_getres(clockid_t clock_id, struct old_timespec32 *res, const struct vdso_data *vd); #endif |