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_stats.c
          +++ new/usr/src/uts/common/io/ib/adapters/hermon/hermon_stats.c
↓ open down ↓ 342 lines elided ↑ open up ↑
 343  343          uint64_t                pcr;
 344  344          uint32_t                tmp;
 345  345          uint32_t                oldval;
 346  346          uint_t                  numports, indx;
 347  347          int                     status;
 348  348          hermon_hw_sm_perfcntr_t sm_perfcntr;
 349  349  
 350  350          /*
 351  351           * Extract the Hermon softstate pointer, kstat data, pointer to the
 352  352           * kstat info structure, and pointer to the hki_ib_perfcnt[] array
 353      -         * from the input parameters.  Note: For warlock purposes, these
 354      -         * parameters are all accessed only in this routine and are,
 355      -         * therefore, protected by the lock used by the kstat framework.
      353 +         * from the input parameters.
 356  354           */
 357  355          state   = ksp->ks_private;
 358  356          data    = (struct kstat_named *)(ksp->ks_data);
 359  357          ksi     = state->hs_ks_info;
 360  358          ib_perf = &ksi->hki_ib_perfcnt[0];
 361      -        _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*ksi))
 362      -        _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*data))
 363      -        _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*ib_perf))
 364  359  
 365  360          /*
 366  361           * Depending on whether we are reading the "pic" counters or
 367  362           * writing the "pcr" control register, we need to handle and
 368  363           * fill in the kstat data appropriately.
 369  364           *
 370  365           * If this is a write to the "pcr", then extract the value from
 371  366           * the kstat data and store it in the kstat info structure.
 372  367           *
 373  368           * Otherwise, if this is a read of the "pic" counter(s), then
↓ open down ↓ 608 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX