doc: Fix typo "deference" to "dereference"
Reported-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
This commit is contained in:
parent
17f0da1387
commit
6e6eca2ee7
|
@ -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
|
read-side critical section, which again would have suppressed the
|
||||||
above lockdep-RCU splat.
|
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
|
returned from rcu_dereference(). Instead, that pointer is just compared
|
||||||
to the cic pointer, which means that the rcu_dereference() can be replaced
|
to the cic pointer, which means that the rcu_dereference() can be replaced
|
||||||
by rcu_access_pointer() as follows:
|
by rcu_access_pointer() as follows:
|
||||||
|
|
Loading…
Reference in New Issue