[S390] atomic: use ACCESS_ONCE() for atomic_read()
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 17 Feb 2011 12:13:56 +0000 (13:13 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Thu, 17 Feb 2011 12:13:58 +0000 (13:13 +0100)
Let's make atomic_read() and atomic_set() behave like on all/most other
architectures. Generated code is identical with gcc 4.5.2.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

No differences found