From: Stephen Hemminger Date: Fri, 6 Jan 2006 08:12:12 +0000 (-0800) Subject: [PATCH] x86: fls() in asm X-Git-Tag: v2.6.16-rc1~936^2~185 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d832245d7cc16d50b29c1b708ccbe9c75ac376a3;p=pandora-kernel.git [PATCH] x86: fls() in asm There is a single instruction on i386 to find largest set bit; so it makes sense to use it (like we use bfs for ffs()). Signed-off-by: Stephen Hemminger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed