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>
        
*** 18,27 ****
--- 18,28 ----
   *
   * CDDL HEADER END
   */
  /*
   * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
+  * Copyright 2016 Joyent, Inc.
   */
  
  #include <sys/types.h>
  #include <sys/t_lock.h>
  #include <sys/param.h>
*** 771,781 ****
          if (capability == S_CAPABILITY_NOMINFLT)
                  return (1);
          return (0);
  }
  
! static struct seg_ops segkmem_ops = {
          SEGKMEM_BADOP(int),             /* dup */
          SEGKMEM_BADOP(int),             /* unmap */
          SEGKMEM_BADOP(void),            /* free */
          segkmem_fault,
          SEGKMEM_BADOP(faultcode_t),     /* faulta */
--- 772,782 ----
          if (capability == S_CAPABILITY_NOMINFLT)
                  return (1);
          return (0);
  }
  
! struct seg_ops segkmem_ops = {
          SEGKMEM_BADOP(int),             /* dup */
          SEGKMEM_BADOP(int),             /* unmap */
          SEGKMEM_BADOP(void),            /* free */
          segkmem_fault,
          SEGKMEM_BADOP(faultcode_t),     /* faulta */