want ddi_ffsll, ddi_flsll
DDI currently provides ddi_ffs(long) and ddi_fls(long), both backed by ffs(intmax_t). It's therefore trivial to add ddi_ffsll(long long) and ddi_flsll(long long), which I need for porting linuxkpi.
Updated by Hans Rosenfeld about 2 years ago
Testing: I took some random driver and added a bunch of calls to the old and new ffs/fls functions with various values in 32bit and 64bit integers and observed the values returned. The first/last bits set came out as expected, which isn't surprising as I didn't really change the underlying function, just added new wrappers.
This change has been in illumos-joyent since July.