]> 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)
commit1093a184fbc388c2493b808e89b35d9594df96e7
tree3f34d10ee238633b8b864f158e397e965fea6531
parented2b414bbd0711b6fe70851ed9d2e36ac2f86a71
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