Print this page
4786 emlxs shouldn't abuse ddi_get_time(9f)
@@ -21,10 +21,11 @@
/*
* Copyright 2010 Emulex. All rights reserved.
* Use is subject to license terms.
* Copyright (c) 2011 Bayard G. Bell. All rights reserved.
+ * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
*/
#define DEF_ICFG 1
@@ -1095,11 +1096,11 @@
(void) sprintf(buf, "%s_device mutex", DRIVER_NAME);
mutex_init(&emlxs_device.lock, buf, MUTEX_DRIVER, NULL);
(void) drv_getparm(LBOLT, &emlxs_device.log_timestamp);
- emlxs_device.drv_timestamp = ddi_get_time();
+ emlxs_device.drv_timestamp = gethrtime();
for (ret = 0; ret < MAX_FC_BRDS; ret++) {
emlxs_instance[ret] = (uint32_t)-1;
}