diff options
author | Akira Yokosawa <akiyks@gmail.com> | 2021-01-16 00:11:45 +0900 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2021-03-08 14:17:35 -0800 |
commit | 5bb1369d4bea078dd1298dfc2c6ce781d9e34dde (patch) | |
tree | 99c51a267830fa852df0d61be83e5bce3741b7c1 | |
parent | 6494ccb93271bee596a12db32ff44867d5be2321 (diff) | |
download | linux-5bb1369d4bea078dd1298dfc2c6ce781d9e34dde.tar.gz linux-5bb1369d4bea078dd1298dfc2c6ce781d9e34dde.tar.bz2 linux-5bb1369d4bea078dd1298dfc2c6ce781d9e34dde.zip |
rculist: Replace reference to atomic_ops.rst
The hlist_nulls_for_each_entry_rcu() docbook header references the
atomic_ops.rst file, which was removed in commit f0400a77ebdc ("atomic:
Delete obsolete documentation"). This commit therefore substitutes a
section in memory-barriers.txt discussing the use of barrier() in loops.
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
-rw-r--r-- | include/linux/rculist_nulls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rculist_nulls.h b/include/linux/rculist_nulls.h index ff3e94779e73..d8afdb8784c1 100644 --- a/include/linux/rculist_nulls.h +++ b/include/linux/rculist_nulls.h @@ -161,7 +161,7 @@ static inline void hlist_nulls_add_fake(struct hlist_nulls_node *n) * * The barrier() is needed to make sure compiler doesn't cache first element [1], * as this loop can be restarted [2] - * [1] Documentation/core-api/atomic_ops.rst around line 114 + * [1] Documentation/memory-barriers.txt around line 1533 * [2] Documentation/RCU/rculist_nulls.rst around line 146 */ #define hlist_nulls_for_each_entry_rcu(tpos, pos, head, member) \ |