Ver Fonte

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 há 16 anos atrás
pai
commit
0db5d3d2f5
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      arch/m68knommu/include/asm/bitops.h

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

@@ -331,6 +331,7 @@ found_middle:
 #endif /* __KERNEL__ */
 #endif /* __KERNEL__ */
 
 
 #include <asm-generic/bitops/fls.h>
 #include <asm-generic/bitops/fls.h>
+#include <asm-generic/bitops/__fls.h>
 #include <asm-generic/bitops/fls64.h>
 #include <asm-generic/bitops/fls64.h>
 
 
 #endif /* _M68KNOMMU_BITOPS_H */
 #endif /* _M68KNOMMU_BITOPS_H */