diff options
author | Mark Rutland <mark.rutland@arm.com> | 2014-09-25 14:23:53 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-09-26 05:03:00 -0400 |
commit | dd42a0882a70f10e429b8306dec8aad40babe19c (patch) | |
tree | c1537124f1722047208ebb6b2d44b3a11d268135 | |
parent | 25b91ac204647de6f84fbc1dd7ea4fa2cc7e5a46 (diff) |
Docs: this_cpu_ops: remove redundant add forms
Commit ac490f4dca94 (Documentation: this_cpu_ops.txt: Update description
of this_cpu_ops) added lists of {__,}this_cpu operations, but these have
duplicate, parameter-less entries for {__,}this_cpu_add which don't
correspond to any implementation. No other operations have such
duplicate entries.
Given both are also listed with their full complement of arguments, the
empty forms are redundant and can be removed. This patch performs said
removal.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r-- | Documentation/this_cpu_ops.txt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Documentation/this_cpu_ops.txt b/Documentation/this_cpu_ops.txt index 0ec995712176..2cbf71975381 100644 --- a/Documentation/this_cpu_ops.txt +++ b/Documentation/this_cpu_ops.txt | |||
@@ -41,7 +41,6 @@ The following this_cpu() operations with implied preemption protection | |||
41 | are defined. These operations can be used without worrying about | 41 | are defined. These operations can be used without worrying about |
42 | preemption and interrupts. | 42 | preemption and interrupts. |
43 | 43 | ||
44 | this_cpu_add() | ||
45 | this_cpu_read(pcp) | 44 | this_cpu_read(pcp) |
46 | this_cpu_write(pcp, val) | 45 | this_cpu_write(pcp, val) |
47 | this_cpu_add(pcp, val) | 46 | this_cpu_add(pcp, val) |
@@ -225,7 +224,6 @@ still occur while an operation is in progress and if the interrupt too | |||
225 | modifies the variable, then RMW actions can not be guaranteed to be | 224 | modifies the variable, then RMW actions can not be guaranteed to be |
226 | safe. | 225 | safe. |
227 | 226 | ||
228 | __this_cpu_add() | ||
229 | __this_cpu_read(pcp) | 227 | __this_cpu_read(pcp) |
230 | __this_cpu_write(pcp, val) | 228 | __this_cpu_write(pcp, val) |
231 | __this_cpu_add(pcp, val) | 229 | __this_cpu_add(pcp, val) |