h8300: define __fls
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 3 Jan 2009 05:46:04 +0000 (15:46 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Sat, 3 Jan 2009 05:46:04 +0000 (15:46 +1030)
commit9ddabc2a29163e4b243d10c5e06fc5584073d7ad
tree8dc8f18dad59db86ad91e0500b35aa1558838c92
parentee38e5140bafbf40e1bd25ab917ac8db54a27799
h8300: define __fls

Like fls, but can't be handed 0 and returns the bit number.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/h8300/include/asm/bitops.h