diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-06-15 22:43:51 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-06-22 12:09:52 -0300 |
commit | eef7913c2f5512a954e658a5908a47dbc0ec8c2e (patch) | |
tree | efd27199fcfd2dbe5b2ee13d2fc53fac130b5d51 /bits/hwcap.h | |
parent | 4b6551902e5c701e5f3156928d88aadeb6487dc1 (diff) | |
download | glibc-eef7913c2f5512a954e658a5908a47dbc0ec8c2e.tar.gz glibc-eef7913c2f5512a954e658a5908a47dbc0ec8c2e.tar.xz glibc-eef7913c2f5512a954e658a5908a47dbc0ec8c2e.zip |
linux: Only use 64-bit syscall if required for semtimedop
For !__ASSUME_TIME64_SYSCALLS there is no need to issue a 64-bit syscall if the provided timeout fits in a 32-bit one. The 64-bit usage should be rare since the timeout is a relative one. Checked on i686-linux-gnu on a 4.15 kernel and on a 5.11 kernel (with and without --enable-kernel=5.1) and on x86_64-linux-gnu. Reviewed-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'bits/hwcap.h')
0 files changed, 0 insertions, 0 deletions