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

@@ -88,12 +88,10 @@
         int                     status, flag;
         char                    *errormsg;
 
         TAVOR_TNF_ENTER(tavor_qp_alloc);
 
-        _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*attr_p, *queuesz_p))
-
         /*
          * Check the "options" flag.  Currently this flag tells the driver
          * whether or not the QP's work queues should be come from normal
          * system memory or whether they should be allocated from DDR memory.
          */

@@ -248,11 +246,10 @@
                 /* Set "status" and "errormsg" and goto failure */
                 TAVOR_TNF_FAIL(IBT_INSUFF_RESOURCE, "failed QP handle");
                 goto qpalloc_fail4;
         }
         qp = (tavor_qphdl_t)rsrc->tr_addr;
-        _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*qp))
 
         /*
          * Calculate the QP number from QPC index.  This routine handles
          * all of the operations necessary to keep track of used, unused,
          * and released QP numbers.

@@ -783,11 +780,10 @@
                 /* Set "status" and "errormsg" and goto failure */
                 TAVOR_TNF_FAIL(IBT_INSUFF_RESOURCE, "failed QP handle");
                 goto spec_qpalloc_fail4;
         }
         qp = (tavor_qphdl_t)rsrc->tr_addr;
-        _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*qp))
 
         /*
          * Actual QP number is a combination of the index of the QPC and
          * the port number.  This is because the special QP contexts must
          * be allocated two-at-a-time.

@@ -1176,11 +1172,10 @@
          *    In addition, since the QP lock is contained in the QP "software
          *    handle" resource, which we will free (see below), it is
          *    important that we have no further references to that memory.
          */
         mutex_exit(&qp->qp_lock);
-        _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*qp))
 
         /*
          * Free the QP resources
          *    Start by deregistering and freeing the memory for work queues.
          *    Next free any previously allocated context information

@@ -1564,11 +1559,10 @@
                 if (entry == NULL) {
                         mutex_exit(&state->ts_qpn_avl_lock);
                         TAVOR_TNF_EXIT(tavor_qp_create_qpn);
                         return (DDI_FAILURE);
                 }
-                _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*entry))
 
                 entry->qpn_indx    = qpc->tr_indx;
                 entry->qpn_refcnt  = 0;
                 entry->qpn_counter = 0;