diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-09-06 21:34:11 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-09-06 21:34:11 -0400 |
commit | a77d3c17dc6517636c1cf6ab9c6bb8c257772354 (patch) | |
tree | c23fdba4a9a5bc7bf7e1914b18f965e8909ed2e5 /ChangeLog | |
parent | d53a73acdbf6ac6eb99cd06f5dd695da58d9e8f5 (diff) | |
download | glibc-a77d3c17dc6517636c1cf6ab9c6bb8c257772354.zip glibc-a77d3c17dc6517636c1cf6ab9c6bb8c257772354.tar.gz glibc-a77d3c17dc6517636c1cf6ab9c6bb8c257772354.tar.bz2 |
Don't unconditionally use clock_gettime vsyscall on x86-64
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,16 @@ 2011-09-06 Ulrich Drepper <drepper@gmail.com> + * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file. + * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow + already be defined. Change to take two parameters and don't assign + result to variable. Adjust all users. + Define INTERNAL_GETTIME if not already defined. + Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime + call. + * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define + HAVE_CLOCK_GETTIME_VSYSCALL. + * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU. + * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use gettimeofday vsyscall, just use time. |