18c2ecf20Sopenharmony_ci#ifndef _ASM_GENERIC_BITOPS_FFZ_H_ 28c2ecf20Sopenharmony_ci#define _ASM_GENERIC_BITOPS_FFZ_H_ 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ci/* 58c2ecf20Sopenharmony_ci * ffz - find first zero in word. 68c2ecf20Sopenharmony_ci * @word: The word to search 78c2ecf20Sopenharmony_ci * 88c2ecf20Sopenharmony_ci * Undefined if no zero exists, so code should check against ~0UL first. 98c2ecf20Sopenharmony_ci */ 108c2ecf20Sopenharmony_ci#define ffz(x) __ffs(~(x)) 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#endif /* _ASM_GENERIC_BITOPS_FFZ_H_ */ 13