]> git.baikalelectronics.ru Git - kernel.git/commit
s390/bitops: make test functions return bool
authorVasily Gorbik <gor@linux.ibm.com>
Sun, 14 Jul 2019 18:49:26 +0000 (20:49 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 23 Jul 2019 08:46:03 +0000 (10:46 +0200)
commitc715f2fabec45180f7bba2cf43c928d56254e48b
tree3f34d10ee238633b8b864f158e397e965fea6531
parent5b6e6151e66c233ffc0524d87c31ad12dc18b750
s390/bitops: make test functions return bool

Make s390/bitops test functions return bool values. That enforces return
value range to 0 and 1 and matches with asm-generic/bitops-instrumented.h
declarations as well as some other architectures implementations.

Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/include/asm/bitops.h