s390/atomic: various small cleanups
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 16 Sep 2013 09:07:49 +0000 (11:07 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 24 Oct 2013 15:16:51 +0000 (17:16 +0200)
commit9a70a42835d2be9bd1862d839f2debaaea79ba32
treeb0e9981d0012c26e1a7ca263935787c5a5949524
parent5692e4d11cf5b51045a41daf295626c7fcbb698a
s390/atomic: various small cleanups

- add a typecheck to the defines to make sure they operate on an atomic_t
- simplify inline assembly constraints
- keep variable names common between functions

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