1 #include <strings.h> 2 #include "atomic.h" 3 ffsl(long i)4 int ffsl(long i) 5 { 6 return i ? a_ctz_l(i)+1 : 0; 7 } 8