Re: [PATCH v2 8/9] sparc: vdso: Respect COMPAT_32BIT_TIME
Philippe Mathieu-Daudé <[email protected]> Wed, 1 Jul 2026 09:50:37 +0200
| Newsgroups | org.kernel.vger.linux-api,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-mips,org.kernel.vger.sparclinux,org.ozlabs.lists.linuxppc-dev |
|---|---|
| Message-ID | <[email protected]> |
On 30/6/26 09:38, Thomas WeiÃschuh wrote: > If CONFIG_COMPAT_32BIT_TIME is disabled then the vDSO should not > provide any 32-bit time related functionality. This is the intended > effect of the kconfig option and also the fallback system calls would > also not be implemented. > > Currently the kconfig option does not affect the gettimeofday() syscall, > so also keep that in the vDSO. > > Signed-off-by: Thomas Weißschuh <[email protected]> > --- > arch/sparc/vdso/vclock_gettime.c | 4 ++++ > arch/sparc/vdso/vdso32/vdso32.lds.S | 6 ++++-- > 2 files changed, 8 insertions(+), 2 deletions(-) Reviewed-by: Philippe Mathieu-Daudé <[email protected]>