]> git.baikalelectronics.ru Git - kernel.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>
Thu, 24 Oct 2013 15:17:02 +0000 (17:17 +0200)
commit080ab076ab6352e39f3dae60cc683907d7298416
treed34c18c390a74bf1ba7f933a6ca7487574b892f6
parent9c087626f358a27682d87f91084ba973b6da4718
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