Skip to content

Commit

Permalink
cris: define __fls
Browse files Browse the repository at this point in the history
Like fls, but can't be handed 0 and returns the bit number.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  • Loading branch information
Rusty Russell committed Jan 3, 2009
1 parent 8c384cd commit 0999769
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/cris/include/asm/bitops.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ static inline int test_and_change_bit(int nr, volatile unsigned long *addr)
#define ffs kernel_ffs

#include <asm-generic/bitops/fls.h>
#include <asm-generic/bitops/__fls.h>
#include <asm-generic/bitops/fls64.h>
#include <asm-generic/bitops/hweight.h>
#include <asm-generic/bitops/find.h>
Expand Down

0 comments on commit 0999769

Please sign in to comment.