summaryrefslogtreecommitdiff
path: root/include/linux/log2.h
AgeCommit message (Expand)AuthorFilesLines
2020-09-05include/linux/log2.h: add missing () around n in roundup_pow_of_two()Jason Gunthorpe1-1/+1
2019-06-24sched/uclamp: Add CPU's clamp buckets refcountingPatrick Bellasi1-0/+34
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2018-04-20scsi: ilog2: create truly constant version for sparseMartin Wilck1-11/+24
2017-10-07linux/log2.h: fix kernel-doc notationRandy Dunlap1-19/+23
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-13linux/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-19Fix 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 co...David Howells1-0/+26
2006-12-08[PATCH] LOG2: Implement a general integer log2 facility in the kernelDavid Howells1-0/+131