about summary refs log tree commit diff
path: root/linuxthreads/manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/manager.c')
-rw-r--r--linuxthreads/manager.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c
index 3d24218307..d436b08f16 100644
--- a/linuxthreads/manager.c
+++ b/linuxthreads/manager.c
@@ -230,15 +230,15 @@ pthread_start_thread(void *arg)
   pthread_descr self = (pthread_descr) arg;
   struct pthread_request request;
   void * outcome;
-#ifdef CPUCLOCK_VARDEF
-  CPUCLOCK_VARDEF (tmpclock);
+#if HP_TIMING_AVAIL
+  hp_timing_t tmpclock;
 #endif
   /* Initialize special thread_self processing, if any.  */
 #ifdef INIT_THREAD_SELF
   INIT_THREAD_SELF(self, self->p_nr);
 #endif
-#ifdef CPUCLOCK_INIT
-  CPUCLOCK_INIT (tmpclock);
+#if HP_TIMING_AVAIL
+  HP_TIMING_NOW (tmpclock);
   THREAD_SETMEM (self, p_cpuclock_offset, tmpclock);
 #endif
   /* Make sure our pid field is initialized, just in case we get there