summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2019-11-13 20:12:59 +0300
committerPaul E. McKenney <paulmck@kernel.org>2019-12-11 05:51:54 +0300
commit6e6eca2ee79a23329093cdf8d1cc0bd86128981f (patch)
tree082822caf68cc982768bd3cd8385710864f0446e /Documentation
parent17f0da13873ba393a72f14d41ffc8ff388e38723 (diff)
downloadlinux-6e6eca2ee79a23329093cdf8d1cc0bd86128981f.tar.xz
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')
-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: