Commit ff7a1eef authored by Huilong Deng's avatar Huilong Deng Committed by Vasily Gorbik
Browse files

s390/bitops: return true/false (not 1/0) from bool functions

parent 3b051e89
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -188,7 +188,7 @@ static inline bool arch_test_and_set_bit_lock(unsigned long nr,
					      volatile unsigned long *ptr)
{
	if (arch_test_bit(nr, ptr))
		return 1;
		return true;
	return arch_test_and_set_bit(nr, ptr);
}