Print this page
4777 ibdm shouldn't abuse ddi_get_time(9f)
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
Reviewed by: Albert Lee <albert.lee@nexenta.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>

*** 20,29 **** --- 20,32 ---- */ /* * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ + /* + * Copyright 2014 Nexenta Systems, Inc. All rights reserved. + */ #ifndef _SYS_IB_MGT_IBDM_IBDM_IBNEX_H #define _SYS_IB_MGT_IBDM_IBDM_IBNEX_H /*
*** 213,223 **** ibdm_port_attr_t *hl_port_attr; /* port attributes */ struct ibdm_hca_list_s *hl_next; /* ptr to next list */ ib_guid_t hl_hca_guid; /* HCA GUID */ uint32_t hl_nports; /* #ports of this HCA */ uint32_t hl_nports_active; /* #ports active */ ! time_t hl_attach_time; /* attach time */ ibt_hca_hdl_t hl_hca_hdl; /* HCA handle */ ibdm_port_attr_t *hl_hca_port_attr; /* Dummy Port Attr */ /* for HCA node */ } ibdm_hca_list_t; _NOTE(SCHEME_PROTECTS_DATA("Serialized access by cv", ibdm_hca_list_s)) --- 216,226 ---- ibdm_port_attr_t *hl_port_attr; /* port attributes */ struct ibdm_hca_list_s *hl_next; /* ptr to next list */ ib_guid_t hl_hca_guid; /* HCA GUID */ uint32_t hl_nports; /* #ports of this HCA */ uint32_t hl_nports_active; /* #ports active */ ! hrtime_t hl_attach_time; /* attach time */ ibt_hca_hdl_t hl_hca_hdl; /* HCA handle */ ibdm_port_attr_t *hl_hca_port_attr; /* Dummy Port Attr */ /* for HCA node */ } ibdm_hca_list_t; _NOTE(SCHEME_PROTECTS_DATA("Serialized access by cv", ibdm_hca_list_s))