diff options
| author | Cynthia Huang <[email protected]> | 2025-07-10 10:36:30 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2025-07-22 09:18:43 +0000 |
| commit | 04850819c65c8242072818655d4341e70ae998b5 (patch) | |
| tree | 8b1aab0f71a8805a5308dc0dedfa584d87e436b8 /net/unix/af_unix.c | |
| parent | perf bench futex: Remove support for IMMUTABLE (diff) | |
| download | kernel-04850819c65c8242072818655d4341e70ae998b5.tar.gz kernel-04850819c65c8242072818655d4341e70ae998b5.zip | |
selftests/futex: Define SYS_futex on 32-bit architectures with 64-bit time_t
The kernel does not provide sys_futex() on 32-bit architectures that do not
support 32-bit time representations, such as riscv32.
As a result, glibc cannot define SYS_futex, causing compilation failures in
tests that rely on this syscall. Define SYS_futex as SYS_futex_time64 in
such cases to ensure successful compilation and compatibility.
Signed-off-by: Cynthia Huang <[email protected]>
Signed-off-by: Ben Zong-You Xie <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Muhammad Usama Anjum <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
