Print this page
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>
        
@@ -19,17 +19,16 @@
  * CDDL HEADER END
  */
 /*
  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
+ * Copyright 2016 Joyent, Inc.
  */
 
 #ifndef _SYS_MACHLOCK_H
 #define _SYS_MACHLOCK_H
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #ifndef _ASM
 #include <sys/types.h>
 #include <sys/time.h>
 #endif /* _ASM */
 
@@ -74,11 +73,11 @@
 #define LOCK_SAMPLE_INTERVAL(i) (((i) & 0xff) == 0)
 
 /*
  * Externs for CLOCK_LOCK and clock resolution
  */
-extern volatile int hres_lock;
+extern volatile uint32_t hres_lock;
 extern hrtime_t hrtime_base;
 extern int clock_res;
 
 #endif  /* _ASM */