]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 17 Oct 2013 07:25:58 +0000 (09:25 +0200)
commitfc83d45b3eddfb80c9bfcef61d91dd26f292f2b3
tree7af3dd481ee65eadcdd35e6579ca4121c6478c30
parent337e15918854da5fc7ea72fc5462e797b4732063
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