diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-04-22 22:44:56 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-04-22 22:44:56 +0200 |
commit | 4d466d8adaa02bd45c3d36cb910046c23c83a6f9 (patch) | |
tree | d86e6031b80f274c954275b2d241f79937cf3159 /libpthread/nptl/sysdeps/unix/sysv | |
parent | 41315bb358d6d2f82e4e2ca8a6cb08fe69f90d56 (diff) |
remove unused HP_TIMING_AVAIL and header
cleanup unused and unsupported code.
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv')
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/fork.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c b/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c index 49806dab9..8b4b03677 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/fork.c @@ -24,7 +24,6 @@ #include <sysdep.h> #include <tls.h> #include "fork.h" -#include <hp-timing.h> #include <ldsodefs.h> #include <atomic.h> #include <errno.h> @@ -152,14 +151,6 @@ fork (void) if (__fork_generation_pointer != NULL) *__fork_generation_pointer += 4; -#if HP_TIMING_AVAIL - /* The CPU clock of the thread and process have to be set to zero. */ - hp_timing_t now; - HP_TIMING_NOW (now); - THREAD_SETMEM (self, cpuclock_offset, now); - GL(dl_cpuclock_offset) = now; -#endif - /* Reset the file list. These are recursive mutexes. */ fresetlockfiles (); |