diff options
author | Robert P. J. Day <rpjday@mindspring.com> | 2007-10-16 23:29:32 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 08:42:56 -0700 |
commit | b311e921b385b5a848f0806df16276aca1ecae07 (patch) | |
tree | 957947e319b23150ddbbf7db52f9bdd24b6cdba5 /include/asm-sparc64/visasm.h | |
parent | d9aacccf457d07d729cfc7bf20ff0c7428357a9f (diff) |
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.
[m.kozlowski@tuxland.pl: fix unbalanced parentheses]
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-sparc64/visasm.h')
0 files changed, 0 insertions, 0 deletions