summaryrefslogtreecommitdiff
path: root/tools/include/asm-generic/bitops/__ffz.h
blob: 6744bd4cdf465733899110a54073e6398cdbc8cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _ASM_GENERIC_BITOPS_FFZ_H_
#define _ASM_GENERIC_BITOPS_FFZ_H_

/*
 * ffz - find first zero in word.
 * @word: The word to search
 *
 * Undefined if no zero exists, so code should check against ~0UL first.
 */
#define ffz(x)  __ffs(~(x))

#endif /* _ASM_GENERIC_BITOPS_FFZ_H_ */
a0764b (patch) tree4aff32d5f2f6fe2f54028bfd4d1b66fdd2f8d281 /net/lapb parent926af6273fc683cd98cd0ce7bf0d04a02eed6742 (diff)parenteeeefd41843218c55a8782a6920f044d9bf6207a (diff)
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
Pull block fix from Jens Axboe: "A single fix that should go into 4.10, fixing a regression on some devices with the WRITE_SAME command" * 'for-linus' of git://git.kernel.dk/linux-block: block: don't try Write Same from __blkdev_issue_zeroout
Diffstat (limited to 'net/lapb')