Back to home page

OSCL-LXR

 
 

    


0001 #ifndef _ASM_GENERIC_BITOPS_FFZ_H_
0002 #define _ASM_GENERIC_BITOPS_FFZ_H_
0003 
0004 /*
0005  * ffz - find first zero in word.
0006  * @word: The word to search
0007  *
0008  * Undefined if no zero exists, so code should check against ~0UL first.
0009  */
0010 #define ffz(x)  __ffs(~(x))
0011 
0012 #endif /* _ASM_GENERIC_BITOPS_FFZ_H_ */