ソースを参照

m68knommu: define __fls

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

(I broke this arch in linux-next by using __fls in generic code).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell 17 年 前
コミット
0db5d3d2f5
1 ファイル変更1 行追加0 行削除
  1. 1 0
      arch/m68knommu/include/asm/bitops.h

+ 1 - 0
arch/m68knommu/include/asm/bitops.h

@@ -331,6 +331,7 @@ static __inline__ unsigned long ext2_find_next_zero_bit(void *addr, unsigned lon
 #endif /* __KERNEL__ */
 
 #include <asm-generic/bitops/fls.h>
+#include <asm-generic/bitops/__fls.h>
 #include <asm-generic/bitops/fls64.h>
 
 #endif /* _M68KNOMMU_BITOPS_H */