ソースを参照

srcu: Add parameters to SRCU docbook comments

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Paul E. McKenney 8 年 前
コミット
e4d0b679a8
2 ファイル変更2 行追加1 行削除
  1. 1 0
      include/linux/srcu.h
  2. 1 1
      kernel/rcu/srcutree.c

+ 1 - 0
include/linux/srcu.h

@@ -78,6 +78,7 @@ void synchronize_srcu(struct srcu_struct *sp);
 
 
 /**
 /**
  * srcu_read_lock_held - might we be in SRCU read-side critical section?
  * srcu_read_lock_held - might we be in SRCU read-side critical section?
+ * @sp: The srcu_struct structure to check
  *
  *
  * If CONFIG_DEBUG_LOCK_ALLOC is selected, returns nonzero iff in an SRCU
  * If CONFIG_DEBUG_LOCK_ALLOC is selected, returns nonzero iff in an SRCU
  * read-side critical section.  In absence of CONFIG_DEBUG_LOCK_ALLOC,
  * read-side critical section.  In absence of CONFIG_DEBUG_LOCK_ALLOC,

+ 1 - 1
kernel/rcu/srcutree.c

@@ -854,7 +854,7 @@ void __call_srcu(struct srcu_struct *sp, struct rcu_head *rhp,
 /**
 /**
  * call_srcu() - Queue a callback for invocation after an SRCU grace period
  * call_srcu() - Queue a callback for invocation after an SRCU grace period
  * @sp: srcu_struct in queue the callback
  * @sp: srcu_struct in queue the callback
- * @head: structure to be used for queueing the SRCU callback.
+ * @rhp: structure to be used for queueing the SRCU callback.
  * @func: function to be invoked after the SRCU grace period
  * @func: function to be invoked after the SRCU grace period
  *
  *
  * The callback function will be invoked some time after a full SRCU
  * The callback function will be invoked some time after a full SRCU