Alexander van Heukelum 56a6b1eb7b generic: implement __fls on all 64-bit archs
Implement __fls on all 64-bit archs:

alpha has an implementation of fls64.
	Added __fls(x) = fls64(x) - 1.

ia64 has fls, but not __fls.
	Added __fls based on code of fls.

mips and powerpc have __ilog2, which is the same as __fls.
	Added __fls = __ilog2.

parisc, s390, sh and sparc64:
	Include generic __fls.

x86_64 already has __fls.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-04-26 19:21:16 +02:00
..
2008-01-30 13:34:07 +01:00
2008-04-02 15:28:19 -07:00
2007-07-17 10:23:11 -07:00
2007-08-09 08:39:22 -07:00
2007-10-17 08:42:55 -07:00
2008-04-18 00:46:35 +02:00
2007-12-17 19:28:16 -08:00
2008-02-08 09:22:39 -08:00
2008-04-02 15:28:19 -07:00
2007-07-16 09:05:36 -07:00
2007-10-16 09:43:03 -07:00
2008-04-17 10:42:34 -04:00
2007-07-17 11:01:07 -07:00
2008-02-05 09:44:18 -08:00
2008-02-05 09:44:21 -08:00
2008-02-07 08:42:30 -08:00