bitops.h

Russ Weight (rweight@us.ibm.com)
Mon, 24 Dec 2001 16:29:23 -0800


Quick question: I see that there is support for both zero- and
one-based bitmasks (e.g. ffs() vs. ffz()). Are there technical
reasons to prefer one over the other? Or is this just a matter
of preference, or whatever lends itself best to the task at
hand? (It seems as though I have seen some reference to this
prevously, but I am unable to find anything in the archives.)

- Russ

-- 
Russ Weight (rweight@us.ibm.com)
Linux Technology Center
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/