Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

MIPS: vdso: Provide getres_time64() for 32-bit ABIs

For consistency with __vdso_clock_gettime64() there should also be a
64-bit variant of clock_getres(). This will allow the extension of
CONFIG_COMPAT_32BIT_TIME to the vDSO and finally the removal of 32-bit
time types from the kernel and UAPI.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20251223-vdso-compat-time32-v1-9-97ea7a06a543@linutronix.de

authored by

Thomas Weißschuh and committed by
Thomas Gleixner
bec06cd6 f10c2e72

+6
+1
arch/mips/vdso/vdso.lds.S
··· 103 103 __vdso_clock_getres; 104 104 #if _MIPS_SIM != _MIPS_SIM_ABI64 105 105 __vdso_clock_gettime64; 106 + __vdso_clock_getres_time64; 106 107 #endif 107 108 #endif 108 109 local: *;
+5
arch/mips/vdso/vgettimeofday.c
··· 46 46 return __cvdso_clock_gettime(clock, ts); 47 47 } 48 48 49 + int __vdso_clock_getres_time64(clockid_t clock, struct __kernel_timespec *ts) 50 + { 51 + return __cvdso_clock_getres(clock, ts); 52 + } 53 + 49 54 #else 50 55 51 56 int __vdso_clock_gettime(clockid_t clock,