diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-05-14 20:31:07 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-07-15 17:43:10 -0400 |
commit | 297f739938908a4262603314576e32ee7375296c (patch) | |
tree | 766d05e1dfeabc6ffca33e9ee880e5509828f258 /Documentation/RCU | |
parent | 21b05de4c8fac08fff08cf84ef1d4fe5786f9608 (diff) |
documentation: Fix spelling of "operators"
Reported-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'Documentation/RCU')
-rw-r--r-- | Documentation/RCU/rcu_dereference.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/RCU/rcu_dereference.txt b/Documentation/RCU/rcu_dereference.txt index 1e6c0da994f5..c0bf2441a2ba 100644 --- a/Documentation/RCU/rcu_dereference.txt +++ b/Documentation/RCU/rcu_dereference.txt | |||
@@ -28,7 +28,7 @@ o You must use one of the rcu_dereference() family of primitives | |||
28 | o Avoid cancellation when using the "+" and "-" infix arithmetic | 28 | o Avoid cancellation when using the "+" and "-" infix arithmetic |
29 | operators. For example, for a given variable "x", avoid | 29 | operators. For example, for a given variable "x", avoid |
30 | "(x-x)". There are similar arithmetic pitfalls from other | 30 | "(x-x)". There are similar arithmetic pitfalls from other |
31 | arithmetic operatiors, such as "(x*0)", "(x/(x+1))" or "(x%1)". | 31 | arithmetic operators, such as "(x*0)", "(x/(x+1))" or "(x%1)". |
32 | The compiler is within its rights to substitute zero for all of | 32 | The compiler is within its rights to substitute zero for all of |
33 | these expressions, so that subsequent accesses no longer depend | 33 | these expressions, so that subsequent accesses no longer depend |
34 | on the rcu_dereference(), again possibly resulting in bugs due | 34 | on the rcu_dereference(), again possibly resulting in bugs due |