Re: [0/3] Improve generic fls64 for 64-bit machines

From: Ingo Molnar
Date: Fri Mar 21 2008 - 09:11:21 EST



* Alexander van Heukelum <heukelum@xxxxxxxxxxxxx> wrote:

> This series of patches:
>
> [1/3] adds __fls.h to asm-generic
> [2/3] modifies asm-*/bitops.h for 64-bit archs to implement __fls
> [3/3] modifies asm-generic/fls64.h to make use of __fls
>
> I have compiled i386 and x86_64, and they generate the same code as
> before the change. The changes to the other archs are a best effort.
> Please comment.

i've applied #1 and #3 to x86.git/testing, to see how this works out on
x86. But it looks good to me in general.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/