Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a "rounddown_pow_of_two" routine to log2.h
To go along with the existing "roundup_pow_of_two" routine, add one for rounding down since that operation appears to crop up on a regular basis in the source tree. [[email protected]: fix unbalanced parentheses] Signed-off-by: Robert P. J. Day <[email protected]> Signed-off-by: Mariusz Kozlowski <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information