From: Alexander van Heukelum Date: Tue, 1 Apr 2008 15:42:21 +0000 (+0200) Subject: x86: optimize find_first_bit for small bitmaps X-Git-Tag: v2.6.26-rc1~1037^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a48305028aa38afba93fc05066c71a6ee668ad8;p=pandora-kernel.git x86: optimize find_first_bit for small bitmaps Avoid a call to find_first_bit if the bitmap size is know at compile time and small enough to fit in a single long integer. Modeled after an optimization in the original x86_64-specific code. Signed-off-by: Alexander van Heukelum Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed