diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-09-17 14:30:06 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-10-20 11:09:33 -0700 |
commit | e4d0b679a8467b6d0c169642f0b5f57d8d6eacc2 (patch) | |
tree | d79f0aa4f668f89ea3b2591e6bf8ebd5a45a52b2 | |
parent | 5692fcc671ac8a10bfd0e75d52f0259fe767b56c (diff) | |
download | linux-e4d0b679a8467b6d0c169642f0b5f57d8d6eacc2.tar.gz linux-e4d0b679a8467b6d0c169642f0b5f57d8d6eacc2.tar.bz2 linux-e4d0b679a8467b6d0c169642f0b5f57d8d6eacc2.zip |
srcu: Add parameters to SRCU docbook comments
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
-rw-r--r-- | include/linux/srcu.h | 1 | ||||
-rw-r--r-- | kernel/rcu/srcutree.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/srcu.h b/include/linux/srcu.h index 39af9bc0f653..62be8966e837 100644 --- a/include/linux/srcu.h +++ b/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? + * @sp: The srcu_struct structure to check * * If CONFIG_DEBUG_LOCK_ALLOC is selected, returns nonzero iff in an SRCU * read-side critical section. In absence of CONFIG_DEBUG_LOCK_ALLOC, diff --git a/kernel/rcu/srcutree.c b/kernel/rcu/srcutree.c index 729a8706751d..6d5880089ff6 100644 --- a/kernel/rcu/srcutree.c +++ b/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 * @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 * * The callback function will be invoked some time after a full SRCU |