Documentation/atomic_ops.txt: avoid volatile in sample code
commit72eef0f3af410de2c85f236140ddea61b71cfc3e
authorNikanth Karthikesan <knikanth@suse.de>
Thu, 26 May 2011 23:25:13 +0000 (26 16:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 27 May 2011 00:12:34 +0000 (26 17:12 -0700)
treee2ceccb88da76028c65c158609328786253cdee9
parent1d5827235de48e829d5d4a03c3688ef6f2b15562
Documentation/atomic_ops.txt: avoid volatile in sample code

As declaring counter as volatile is discouraged, it is best not to use it
in sample code as well.

Signed-off-by: Nikanth Karthikesan <knikanth@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/atomic_ops.txt