Просмотр исходного кода

m32r: define __fls

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

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell 16 лет назад
Родитель
Сommit
16a206260e
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      include/asm-m32r/bitops.h

+ 1 - 0
include/asm-m32r/bitops.h

@@ -251,6 +251,7 @@ static __inline__ int test_and_change_bit(int nr, volatile void * addr)
 #include <asm-generic/bitops/ffz.h>
 #include <asm-generic/bitops/__ffs.h>
 #include <asm-generic/bitops/fls.h>
+#include <asm-generic/bitops/__fls.h>
 #include <asm-generic/bitops/fls64.h>
 
 #ifdef __KERNEL__