summaryrefslogtreecommitdiffstats
path: root/include/linux/log2.h
Commit message (Expand)AuthorAgeFilesLines
* ilog2: force inlining of __ilog2_u32() and __ilog2_u64()Christophe Leroy2022-03-231-2/+2
* ilog2: improve ilog2 for constant argumentsJakub Jelinek2020-12-151-1/+2
* include/linux/log2.h: add missing () around n in roundup_pow_of_two()Jason Gunthorpe2020-09-051-1/+1
* sched/uclamp: Add CPU's clamp buckets refcountingPatrick Bellasi2019-06-241-0/+34
* treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner2019-05-301-5/+1
* scsi: ilog2: create truly constant version for sparseMartin Wilck2018-04-201-11/+24
* linux/log2.h: fix kernel-doc notationRandy Dunlap2017-10-071-19/+23
* 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