Commit 0db5d3d2f58804edb394e8008c7d9744110338a2

Authored by Rusty Russell
1 parent 434ae514c2

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

arch/m68knommu/include/asm/bitops.h
... ... @@ -331,6 +331,7 @@
331 331 #endif /* __KERNEL__ */
332 332  
333 333 #include <asm-generic/bitops/fls.h>
  334 +#include <asm-generic/bitops/__fls.h>
334 335 #include <asm-generic/bitops/fls64.h>
335 336  
336 337 #endif /* _M68KNOMMU_BITOPS_H */