]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
s390/atomic: use 'unsigned int' instead of 'unsigned long' for atomic_*_mask()
authorChen Gang <gang.chen@asianux.com>
Thu, 10 Oct 2013 02:31:22 +0000 (10:31 +0800)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 22 Oct 2013 07:18:18 +0000 (09:18 +0200)
commit5873e2204acf2c2542724fd08bd94f5a77faeb40
tree8ed0b566cee66aad234840912b877da6d4f5cab7
parent44c78373ef146fcca050f97414e9db1d056354df
s390/atomic: use 'unsigned int' instead of 'unsigned long' for atomic_*_mask()

The type of 'v->counter' is always 'int', and related inline assembly
code also process 'int', so use 'unsigned int' instead of 'unsigned
long' for the 'mask'.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
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