summaryrefslogtreecommitdiff
path: root/include/linux/log2.h
AgeCommit message (Expand)Author
2022-03-23ilog2: force inlining of __ilog2_u32() and __ilog2_u64()Christophe Leroy
2020-12-15ilog2: improve ilog2 for constant argumentsJakub Jelinek
2020-09-05include/linux/log2.h: add missing () around n in roundup_pow_of_two()Jason Gunthorpe
2019-06-24sched/uclamp: Add CPU's clamp buckets refcountingPatrick Bellasi
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner
2018-04-20scsi: ilog2: create truly constant version for sparseMartin Wilck
2017-10-07linux/log2.h: fix kernel-doc notationRandy Dunlap
2017-03-02give up on gcc ilog2() constant optimizationsLinus Torvalds
2017-02-03log2: make order_base_2() behave correctly on const input value zeroArd Biesheuvel
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