sparc: asm/bitops.h should define __fls
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 4 Dec 2008 00:04:52 +0000 (16:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Dec 2008 00:04:52 +0000 (16:04 -0800)
commite8e8e80ee047b131a0cd6a3e96e0f8dfa14f6d99
tree6c883fece4df6f24c6735813e0189b93744f4da1
parentee4ee527278a66321301d4f1f5ae22e49ab18fad
sparc: asm/bitops.h should define __fls

bitops_64.h includes the generic one; pretty sure 32 should too.

(Found by using __fls in generic code and breaking sparc defconfig build:
 thanks Stephen and linux-next!)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/bitops_32.h