]> git.baikalelectronics.ru Git - kernel.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, 24 Oct 2013 15:16:51 +0000 (17:16 +0200)
commit2c103ae0bd20af6cad148a682c51ce657768531d
treeb0e9981d0012c26e1a7ca263935787c5a5949524
parentaaada9fa132773c1d9ef0cbe3c38b6e8b2577a6c
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