[PATCH v5 03/17] RISC-V: Use 64-bit-time syscall numbers with the 32-bit port
Maciej W. Rozycki
macro@wdc.com
Thu Aug 20 21:39:41 GMT 2020
On Wed, 19 Aug 2020, Alistair Francis via Libc-alpha wrote:
> sysdep.h redefines only the syscall where the generic implementation
> still does not have actual 64-bit time_t support:
>
> /* Workarounds for generic code needing to handle 64-bit time_t. */
>
> /* Fix sysdeps/unix/sysv/linux/clock_getcpuclockid.c. */
> #define __NR_clock_getres __NR_clock_getres_time64
> /* Fix sysdeps/nptl/lowlevellock-futex.h. */
> #define __NR_futex __NR_futex_time64
> [...]
>
> This patch also adds a comment that it is a workaround to handle 64-bit
> time_t and on each #define comment for which implementation it intends
> to.
LGTM.
Reviewed-by: Maciej W. Rozycki <macro@wdc.com>
Maciej
More information about the Libc-alpha
mailing list