Skip to content

Commit

Permalink
Docs: this_cpu_ops: remove redundant add forms
Browse files Browse the repository at this point in the history
Commit ac490f4 (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>
  • Loading branch information
Mark Rutland authored and Jiri Kosina committed Sep 26, 2014
1 parent 25b91ac commit dd42a08
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Documentation/this_cpu_ops.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ The following this_cpu() operations with implied preemption protection
are defined. These operations can be used without worrying about
preemption and interrupts.

this_cpu_add()
this_cpu_read(pcp)
this_cpu_write(pcp, val)
this_cpu_add(pcp, val)
Expand Down Expand Up @@ -225,7 +224,6 @@ still occur while an operation is in progress and if the interrupt too
modifies the variable, then RMW actions can not be guaranteed to be
safe.

__this_cpu_add()
__this_cpu_read(pcp)
__this_cpu_write(pcp, val)
__this_cpu_add(pcp, val)
Expand Down

0 comments on commit dd42a08

Please sign in to comment.