From: Robert P. J. Day Date: Wed, 17 Oct 2007 06:29:32 +0000 (-0700) Subject: Add a "rounddown_pow_of_two" routine to log2.h X-Git-Tag: v2.6.24-rc1~640 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b311e921b385b5a848f0806df16276aca1ecae07;p=pandora-kernel.git 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 Signed-off-by: Mariusz Kozlowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed