blob: 0105c66af9d18946ce9b3f8616c8baa6c7a55cde [file] [log] [blame] [edit]
#include <strings.h>
#include "atomic.h"
int ffsl(long i)
{
return i ? a_ctz_l(i)+1 : 0;
}