diff options
author | Dmitry Chestnykh <dm.chestnykh@gmail.com> | 2024-04-12 19:27:50 +0300 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-04-13 08:34:24 +0200 |
commit | 48591e2a259d84247ae38f050bd58e6f7450bb77 (patch) | |
tree | b743e57b6449cff2bc165bc6c2d83d3cf0b67246 /libc/sysdeps/linux/common/not-cancel.h | |
parent | 70eea5e0f753483dccaabf2ac7ce5b6ef7e8e851 (diff) |
Provide fixups for riscv32.
- Use TIME64 by default for rv32, usage of 32-bit time
leads to a lot of incompatibilities with linux kernel 6.6.x and later
versions.
- Add some other corrections to use proper system calls on riscv32
platform.
Signed-off-by: Dmitry Chestnykh <dm.chestnykh@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/not-cancel.h')
-rw-r--r-- | libc/sysdeps/linux/common/not-cancel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/not-cancel.h b/libc/sysdeps/linux/common/not-cancel.h index 9d1588494..e4fb1d7fe 100644 --- a/libc/sysdeps/linux/common/not-cancel.h +++ b/libc/sysdeps/linux/common/not-cancel.h @@ -113,9 +113,9 @@ extern __typeof(pause) __pause_nocancel; #ifdef __NR_nanosleep # define nanosleep_not_cancel(requested_time, remaining) \ INLINE_SYSCALL (nanosleep, 2, requested_time, remaining) -/*#else +#else # define nanosleep_not_cancel(requested_time, remaining) \ - __nanosleep_nocancel (requested_time, remaining)*/ + __nanosleep_nocancel (requested_time, remaining) #endif #if 0 |