]> git.sur5r.net Git - u-boot/blobdiff - include/asm-arm/bitops.h
Correct ffs/fls regression for PowerPC etc
[u-boot] / include / asm-arm / bitops.h
index 3c7b00c48d033452ddd5a2fee1a9c45bc7efa645..270f163eee3fb5ebe190cec4352c19901361eba9 100644 (file)
@@ -124,14 +124,6 @@ static inline unsigned long ffz(unsigned long word)
        return k;
 }
 
-/*
- * ffs: find first bit set. This is defined the same way as
- * the libc and compiler builtin ffs routines, therefore
- * differs in spirit from the above ffz (man ffs).
- */
-
-#define ffs(x) generic_ffs(x)
-
 /*
  * hweightN: returns the hamming weight (i.e. the number
  * of bits set) of a N-bit word