diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2015-11-01 21:21:47 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-12-07 20:01:32 -0500 |
commit | f039f0af081746933d5dec3229637a18fab791ed (patch) | |
tree | 58644aacb658a009ce6fb4eb0dadfe4465e8bf4d | |
parent | 7c9906ca5e582a773fff696975e312cef58a7386 (diff) |
rcu: Fix comment for rcu_dereference_raw_notrace
rcu_dereference_raw() calls indirectly rcu_read_lock_held() while
rcu_dereference_raw_notrace() does not so fix the comment about the latter.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
-rw-r--r-- | include/linux/rcupdate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index f2b667df1131..85aabcd8b564 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h | |||
@@ -741,7 +741,7 @@ static inline void rcu_preempt_sleep_check(void) | |||
741 | * The tracing infrastructure traces RCU (we want that), but unfortunately | 741 | * The tracing infrastructure traces RCU (we want that), but unfortunately |
742 | * some of the RCU checks causes tracing to lock up the system. | 742 | * some of the RCU checks causes tracing to lock up the system. |
743 | * | 743 | * |
744 | * The tracing version of rcu_dereference_raw() must not call | 744 | * The no-tracing version of rcu_dereference_raw() must not call |
745 | * rcu_read_lock_held(). | 745 | * rcu_read_lock_held(). |
746 | */ | 746 | */ |
747 | #define rcu_dereference_raw_notrace(p) __rcu_dereference_check((p), 1, __rcu) | 747 | #define rcu_dereference_raw_notrace(p) __rcu_dereference_check((p), 1, __rcu) |