Sfoglia il codice sorgente

h8300: 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 anni fa
parent
commit
9ddabc2a29
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      arch/h8300/include/asm/bitops.h

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

@@ -207,6 +207,7 @@ static __inline__ unsigned long __ffs(unsigned long word)
 #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 /* _H8300_BITOPS_H */
 #endif /* _H8300_BITOPS_H */