mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 19:30:10 +00:00
Fix Linux SYSDEP_GETTIME_CPU for newer kernels
This commit is contained in:
parent
a501a01e06
commit
8056ea641f
@ -1,3 +1,9 @@
|
||||
2011-11-15 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): If
|
||||
__ASSUME_POSIX_CPU_TIMERS is defined assign the result of the syscall
|
||||
to retval and return.
|
||||
|
||||
2011-11-15 Andreas Schwab <schwab@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
|
||||
|
@ -110,7 +110,8 @@ maybe_syscall_gettime (clockid_t clock_id, struct timespec *tp)
|
||||
|
||||
# if __ASSUME_POSIX_CPU_TIMERS > 0
|
||||
|
||||
# define SYSDEP_GETTIME_CPU SYSCALL_GETTIME
|
||||
# define SYSDEP_GETTIME_CPU(clock_id, tp) \
|
||||
retval = SYSCALL_GETTIME (clock_id, tp); break
|
||||
# define SYSDEP_GETTIME_CPUTIME /* Default catches them too. */
|
||||
|
||||
# else
|
||||
|
Loading…
Reference in New Issue
Block a user