atomic_t: Cast to volatile when accessing atomic variables
authorAnton Blanchard <anton@samba.org>
Mon, 17 May 2010 04:33:53 +0000 (14:33 +1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 17 May 2010 14:57:27 +0000 (07:57 -0700)
In preparation for removing volatile from the atomic_t definition, this
patch adds a volatile cast to all the atomic read functions.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found