s390/cmpxchg: add missing memory barrier to cmpxchg64
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 29 May 2012 04:54:32 +0000 (06:54 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 30 May 2012 07:07:55 +0000 (09:07 +0200)
commit0c44ca71f59447a5e602c45728829d1cb6a1b4b5
treebc0747b925c799ae7193b0e670e5e208bb1d7da8
parentb9e3f776c811cc0647c7360844714b6a9b5fd0ef
s390/cmpxchg: add missing memory barrier to cmpxchg64

All cmpxchg functions imply a memory barrier.
cmpxch64 did not have one for 31 bit code, so add it.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cmpxchg.h