1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Fix clock_gettime for assumed kernel >= 2.6.12

This commit is contained in:
Andreas Schwab
2011-11-15 15:04:26 +01:00
parent a501a01e06
commit 446514f97e
3 changed files with 15 additions and 2 deletions

View File

@ -110,7 +110,9 @@ 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