[PATCH] LOG2: Provide ilog2() fallbacks for powerpc
commitef55d53caa055aedee13e77da82740987dd64f2d
authorDavid Howells <dhowells@redhat.com>
Fri, 8 Dec 2006 10:37:53 +0000 (8 02:37 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:51 +0000 (8 08:28 -0800)
tree243bbfca98e504401ea563d6c799ed23c12c08b8
parent39d61db0edb34d60b83c5e0d62d0e906578cc707
[PATCH] LOG2: Provide ilog2() fallbacks for powerpc

Provide ilog2() fallbacks for powerpc for 32-bit numbers and 64-bit numbers on
ppc64.

Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/powerpc/Kconfig
include/asm-powerpc/bitops.h
include/asm-powerpc/page_32.h