aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/log2.h (follow)
AgeCommit message (Expand)AuthorFilesLines
2017-03-02give up on gcc ilog2() constant optimizationsLinus Torvalds1-11/+2
2017-02-03log2: make order_base_2() behave correctly on const input value zeroArd Biesheuvel1-1/+12
2011-12-12linux/log2.h: Fix rounddown_pow_of_two(1)Linus Torvalds1-1/+0
2008-02-06log2.h: Define order_base_2() macro for convenience.Robert P. J. Day1-0/+16
2007-10-17Add a "rounddown_pow_of_two" routine to log2.hRobert P. J. Day1-0/+25
2007-05-18Fix roundup_pow_of_two(1)Rolf Eike Beer1-1/+1
2007-02-17Correct trivial typo in log2.h.Robert P. J. Day1-1/+1
2007-02-07[POWERPC] Add "is_power_of_2" checking to log2.h.Robert P. J. Day1-0/+11
2006-12-08[PATCH] LOG2: Alter roundup_pow_of_two() so that it can use a ilog2() on a constantDavid Howells1-0/+26
2006-12-08[PATCH] LOG2: Implement a general integer log2 facility in the kernelDavid Howells1-0/+131