Print this page
8368 remove warlock leftovers from usr/src/uts
@@ -348,21 +348,16 @@
hermon_hw_sm_perfcntr_t sm_perfcntr;
/*
* Extract the Hermon softstate pointer, kstat data, pointer to the
* kstat info structure, and pointer to the hki_ib_perfcnt[] array
- * from the input parameters. Note: For warlock purposes, these
- * parameters are all accessed only in this routine and are,
- * therefore, protected by the lock used by the kstat framework.
+ * from the input parameters.
*/
state = ksp->ks_private;
data = (struct kstat_named *)(ksp->ks_data);
ksi = state->hs_ks_info;
ib_perf = &ksi->hki_ib_perfcnt[0];
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*ksi))
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*data))
- _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*ib_perf))
/*
* Depending on whether we are reading the "pic" counters or
* writing the "pcr" control register, we need to handle and
* fill in the kstat data appropriately.