summaryrefslogtreecommitdiffstats
path: root/include/linux/log2.h
Commit message (Expand)AuthorAgeFilesLines
* give up on gcc ilog2() constant optimizationsLinus Torvalds2017-03-021-11/+2
* log2: make order_base_2() behave correctly on const input value zeroArd Biesheuvel2017-02-031-1/+12
* linux/log2.h: Fix rounddown_pow_of_two(1)Linus Torvalds2011-12-121-1/+0
* log2.h: Define order_base_2() macro for convenience.Robert P. J. Day2008-02-061-0/+16
* Add a "rounddown_pow_of_two" routine to log2.hRobert P. J. Day2007-10-171-0/+25
* Fix roundup_pow_of_two(1)Rolf Eike Beer2007-05-181-1/+1
* Correct trivial typo in log2.h.Robert P. J. Day2007-02-171-1/+1
* [POWERPC] Add "is_power_of_2" checking to log2.h.Robert P. J. Day2007-02-071-0/+11
* [PATCH] LOG2: Alter roundup_pow_of_two() so that it can use a ilog2() on a co...David Howells2006-12-081-0/+26
* [PATCH] LOG2: Implement a general integer log2 facility in the kernelDavid Howells2006-12-081-0/+131