summaryrefslogtreecommitdiff
path: root/include/linux/log2.h
AgeCommit message (Expand)Author
2020-09-12include/linux/log2.h: add missing () around n in roundup_pow_of_two()Jason Gunthorpe
2017-06-17log2: make order_base_2() behave correctly on const input value zeroArd Biesheuvel
2017-03-26give up on gcc ilog2() constant optimizationsLinus Torvalds
2011-12-12linux/log2.h: Fix rounddown_pow_of_two(1)Linus Torvalds
2008-02-06log2.h: Define order_base_2() macro for convenience.Robert P. J. Day
2007-10-17Add a "rounddown_pow_of_two" routine to log2.hRobert P. J. Day
2007-05-18Fix roundup_pow_of_two(1)Rolf Eike Beer
2007-02-17Correct trivial typo in log2.h.Robert P. J. Day
2007-02-07[POWERPC] Add "is_power_of_2" checking to log2.h.Robert P. J. Day
2006-12-08[PATCH] LOG2: Alter roundup_pow_of_two() so that it can use a ilog2() on a co...David Howells
2006-12-08[PATCH] LOG2: Implement a general integer log2 facility in the kernelDavid Howells