]> git.sur5r.net Git - u-boot/blobdiff - include/asm-i386/bitops.h
Correct ffs/fls regression for PowerPC etc
[u-boot] / include / asm-i386 / bitops.h
index ac6285aa5f2eb6cae88a0a17f57c911fc54e04b4..c7a38f237a5cf0bcbbcf996ff8ffc01698a62220 100644 (file)
@@ -349,7 +349,7 @@ static __inline__ int ffs(int x)
                "1:" : "=r" (r) : "g" (x));
        return r+1;
 }
-#define ffs
+#define PLATFORM_FFS
 
 /**
  * hweightN - returns the hamming weight of a N-bit word