summaryrefslogtreecommitdiff
path: root/sysdeps/unix/clock_gettime.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-09-06 21:34:11 -0400
committerUlrich Drepper <drepper@gmail.com>2011-09-06 21:34:11 -0400
commita77d3c17dc6517636c1cf6ab9c6bb8c257772354 (patch)
treec23fdba4a9a5bc7bf7e1914b18f965e8909ed2e5 /sysdeps/unix/clock_gettime.c
parentd53a73acdbf6ac6eb99cd06f5dd695da58d9e8f5 (diff)
downloadglibc-a77d3c17dc6517636c1cf6ab9c6bb8c257772354.tar.gz
Don't unconditionally use clock_gettime vsyscall on x86-64
Diffstat (limited to 'sysdeps/unix/clock_gettime.c')
-rw-r--r--sysdeps/unix/clock_gettime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/clock_gettime.c b/sysdeps/unix/clock_gettime.c
index fbaaf301e4..d467f2b787 100644
--- a/sysdeps/unix/clock_gettime.c
+++ b/sysdeps/unix/clock_gettime.c
@@ -1,5 +1,5 @@
/* clock_gettime -- Get the current time from a POSIX clockid_t. Unix version.
- Copyright (C) 1999-2004, 2005, 2007 Free Software Foundation, Inc.
+ Copyright (C) 1999-2004, 2005, 2007, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -113,7 +113,7 @@ clock_gettime (clockid_t clock_id, struct timespec *tp)
default:
#ifdef SYSDEP_GETTIME_CPU
- SYSDEP_GETTIME_CPU;
+ retval = SYSDEP_GETTIME_CPU (clock_id, tp);
#endif
#if HP_TIMING_AVAIL
if ((clock_id & ((1 << CLOCK_IDFIELD_SIZE) - 1))