From: Rolf Eike Beer Date: Thu, 17 May 2007 21:56:56 +0000 (+0200) Subject: Fix roundup_pow_of_two(1) X-Git-Tag: v2.6.22-rc2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a06a52ee1b0cdb65222474ba6186f3991df68b0;p=pandora-kernel.git Fix roundup_pow_of_two(1) 1 is a power of two, therefore roundup_pow_of_two(1) should return 1. It does in case the argument is a variable but in case it's a constant it behaves wrong and returns 0. Probably nobody ever did it so this was never noticed. Signed-off-by: Rolf Eike Beer Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed