summaryrefslogtreecommitdiffstats
path: root/Documentation/RCU
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2019-11-13 18:12:59 +0100
committerPaul E. McKenney <paulmck@kernel.org>2019-12-11 03:51:54 +0100
commit6e6eca2ee79a23329093cdf8d1cc0bd86128981f (patch)
tree082822caf68cc982768bd3cd8385710864f0446e /Documentation/RCU
parentdoc: Updated full list of RCU API in whatisRCU.rst (diff)
downloadlinux-6e6eca2ee79a23329093cdf8d1cc0bd86128981f.tar.xz
linux-6e6eca2ee79a23329093cdf8d1cc0bd86128981f.zip
doc: Fix typo "deference" to "dereference"
Reported-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'Documentation/RCU')
-rw-r--r--Documentation/RCU/lockdep-splat.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/RCU/lockdep-splat.txt b/Documentation/RCU/lockdep-splat.txt
index 9c015976b174..b8096316fd11 100644
--- a/Documentation/RCU/lockdep-splat.txt
+++ b/Documentation/RCU/lockdep-splat.txt
@@ -99,7 +99,7 @@ With this change, the rcu_dereference() is always within an RCU
read-side critical section, which again would have suppressed the
above lockdep-RCU splat.
-But in this particular case, we don't actually deference the pointer
+But in this particular case, we don't actually dereference the pointer
returned from rcu_dereference(). Instead, that pointer is just compared
to the cic pointer, which means that the rcu_dereference() can be replaced
by rcu_access_pointer() as follows: