summaryrefslogtreecommitdiff
path: root/kern/sref.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/sref.h')
-rw-r--r--kern/sref.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/kern/sref.h b/kern/sref.h
index 9cee283f..1d2a6356 100644
--- a/kern/sref.h
+++ b/kern/sref.h
@@ -77,10 +77,11 @@ void sref_report_periodic_event(void);
/*
* Initialize a scalable reference counter.
*
- * The counter is set to 1. The no-reference function is called (from thread
- * context) when it is certain that the true number of references is 0.
+ * The no-reference function is called (from thread context) when it is
+ * certain that the true number of references is 0.
*/
void sref_counter_init(struct sref_counter *counter,
+ unsigned long init_value,
struct sref_weakref *weakref,
sref_noref_fn_t noref_fn);