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

@@ -56,12 +56,10 @@
             hca_hdl, srq_sizes);
 
         ibt_srq = kmem_zalloc(sizeof (struct ibtl_srq_s), KM_SLEEP);
         *ibt_srq_p = ibt_srq;
 
-        _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(ibt_srq->srq_ibc_srq_hdl))
-        _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(ibt_srq->srq_hca))
         /*
          * Set the following values before creating CI SRQ, to avoid race
          * conditions on async callback.
          */
         ibt_srq->srq_hca = hca_hdl;

@@ -76,13 +74,10 @@
                 kmem_free(ibt_srq, sizeof (struct ibtl_srq_s));
                 *ibt_srq_p = NULL;
                 return (status);
         }
 
-        _NOTE(NOW_VISIBLE_TO_OTHER_THREADS(ibt_srq->srq_ibc_srq_hdl))
-        _NOTE(NOW_VISIBLE_TO_OTHER_THREADS(ibt_srq->srq_hca))
-
         /* Update the srq resource count */
         atomic_inc_32(&hca_hdl->ha_srq_cnt);
 
         return (IBT_SUCCESS);
 }

@@ -147,12 +142,10 @@
             IBTL_SRQ2CIHCA(ibt_srq), ibt_srq->srq_ibc_srq_hdl,
             flags, size, limit, real_size_p));
 }
 
 
-_NOTE(SCHEME_PROTECTS_DATA("client managed", ibtl_srq_s::srq_clnt_private))
-
 /*
  * ibt_set_srq_private - Sets the private data on a given SRQ
  *
  *      ibt_srq          The ibt_srq_hdl_t of the allocated SRQ.
  *      clnt_private    The client private data.