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

@@ -196,11 +196,10 @@
         flag = (sleepflag == HERMON_SLEEP) ? KM_SLEEP : KM_NOSLEEP;
         tmp_rsrc_hdl = kmem_cache_alloc(state->hs_rsrc_cache, flag);
         if (tmp_rsrc_hdl == NULL) {
                 return (DDI_FAILURE);
         }
-        _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*tmp_rsrc_hdl))
 
         /*
          * Set rsrc_hdl type.  This is later used by the hermon_rsrc_free call
          * to know what type of resource is being freed.
          */

@@ -321,11 +320,10 @@
         flag = (sleepflag == HERMON_SLEEP) ? KM_SLEEP : KM_NOSLEEP;
         tmp_rsrc_hdl = kmem_cache_alloc(state->hs_rsrc_cache, flag);
         if (tmp_rsrc_hdl == NULL) {
                 return (DDI_FAILURE);
         }
-        _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*tmp_rsrc_hdl))
 
         /*
          * Set rsrc_hdl type.  This is later used by the hermon_rsrc_free call
          * to know what type of resource is being freed.
          */

@@ -2081,16 +2079,14 @@
         }
 
         mutex_enter(&icm_table->icm_table_lock);
         hermon_bitmap(bitmap, dma_info, icm_table, index1, num_to_hdl);
         while (num) {
-#ifndef __lock_lint
                 while (icm_table->icm_busy) {
                         cv_wait(&icm_table->icm_table_cv,
                             &icm_table->icm_table_lock);
                 }
-#endif
                 if (!HERMON_BMAP_BIT_ISSET(bitmap, index2)) {
                         /* Allocate ICM for this span */
                         icm_table->icm_busy = 1;
                         mutex_exit(&icm_table->icm_table_lock);
                         status = hermon_icm_alloc(state, type, index1, index2);

@@ -2357,11 +2353,10 @@
         status = hermon_rsrc_swhdl_alloc(pool_info, sleepflag, hdl);
         if (status != DDI_SUCCESS) {
                 return (DDI_FAILURE);
         }
         addr = (hermon_pdhdl_t)hdl->hr_addr;
-        _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*addr))
 
         /* Allocate a PD number for the handle */
         flag = (sleepflag == HERMON_SLEEP) ? VM_SLEEP : VM_NOSLEEP;
         tmpaddr = vmem_alloc(pool_info->rsrc_vmp, 1, flag);
         if (tmpaddr == NULL) {