Print this page
8368 remove warlock leftovers from usr/src/uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/ib/adapters/hermon/hermon_fm.c
          +++ new/usr/src/uts/common/io/ib/adapters/hermon/hermon_fm.c
↓ open down ↓ 2007 lines elided ↑ open up ↑
2008 2008          /* Allocate an access handle */
2009 2009          if ((status = ddi_regs_map_setup(dip, rnumber, addrp, offset,
2010 2010              len, accattrp, handle)) != DDI_SUCCESS) {
2011 2011                  return (status);
2012 2012          }
2013 2013  
2014 2014          /* Allocate HCA FM acc handle structure */
2015 2015          handlep = kmem_cache_alloc(hca_fm->fm_acc_cache, KM_SLEEP);
2016 2016  
2017 2017          /* Initialize fields */
2018      -        _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*handlep))
2019 2018          handlep->next = NULL;
2020 2019          handlep->save_hdl = (*handle);
2021 2020          handlep->thread_cnt = 0;
2022 2021          mutex_init(&handlep->lock, NULL, MUTEX_DRIVER, NULL);
2023 2022  
2024 2023          /* Register this handle */
2025 2024          mutex_enter(&hca_fm->lock);
2026 2025          for (last = hdlp = hca_fm->hdl; hdlp != NULL; hdlp = hdlp->next) {
2027 2026                  last = hdlp;
2028 2027          }
↓ open down ↓ 95 lines elided ↑ open up ↑
2124 2123  
2125 2124          /* Allocate an access handle */
2126 2125          if ((status = pci_config_setup(dip, handle)) != DDI_SUCCESS) {
2127 2126                  return (status);
2128 2127          }
2129 2128  
2130 2129          /* Allocate HCA FM acc handle structure */
2131 2130          handlep = kmem_cache_alloc(hca_fm->fm_acc_cache, KM_SLEEP);
2132 2131  
2133 2132          /* Initialize fields */
2134      -        _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*handlep))
2135 2133          handlep->next = NULL;
2136 2134          handlep->save_hdl = (*handle);
2137 2135          handlep->thread_cnt = 0;
2138 2136          mutex_init(&handlep->lock, NULL, MUTEX_DRIVER, NULL);
2139 2137  
2140 2138          /* Register this handle */
2141 2139          mutex_enter(&hca_fm->lock);
2142 2140          for (last = hdlp = hca_fm->hdl; hdlp != NULL; hdlp = hdlp->next) {
2143 2141                  last = hdlp;
2144 2142          }
↓ open down ↓ 481 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX