about summary refs log tree commit diff
path: root/soft-fp
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-08-30 09:08:02 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-10-20 10:19:08 -0300
commit9b5e138f2bbd032da858a4ad5bb51ed99d6f89b6 (patch)
treed61137c94c8088bde747b0b6c741c35e0ed22f1a /soft-fp
parent643a2d01399188192e0da234581034f77c892054 (diff)
downloadglibc-9b5e138f2bbd032da858a4ad5bb51ed99d6f89b6.tar.gz
glibc-9b5e138f2bbd032da858a4ad5bb51ed99d6f89b6.tar.xz
glibc-9b5e138f2bbd032da858a4ad5bb51ed99d6f89b6.zip
linux: Avoid shifting a negative signed on POSIX timer interface
The current macros uses pid as signed value, which triggers a compiler
warning for process and thread timers.  Replace MAKE_PROCESS_CPUCLOCK
with static inline function that expects the pid as unsigned.  These
are similar to what Linux does internally.

Checked on x86_64-linux-gnu.
Reviewed-by: Arjun Shankar <arjun@redhat.com>
Diffstat (limited to 'soft-fp')
0 files changed, 0 insertions, 0 deletions