summaryrefslogtreecommitdiff
path: root/kern/sref_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/sref_i.h')
-rw-r--r--kern/sref_i.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kern/sref_i.h b/kern/sref_i.h
index 695808cc..65d0c1bf 100644
--- a/kern/sref_i.h
+++ b/kern/sref_i.h
@@ -54,6 +54,8 @@ struct sref_weakref {
* Locking keys :
* (c) sref_counter
* (g) sref_data
+ *
+ * Interrupts must be disabled when accessing a global counter.
*/
struct sref_counter {
sref_noref_fn_t noref_fn;