Oliver Pitzeier wrote:
> Where comes this from and _why_???
>
> /usr/src/linux-2.5.24/include/asm/bitops.h:471:1: warning:
> "fls" redefined
> ^^^^^^^^^^^^^^^^^^^^^^^^
OK. Found it... Here...
467 /*
468 * fls: find last bit set.
469 */
470
471 #define fls(x) generic_fls(x)
I took it out. I guess it's not needed anymore because of this:
318 /*
319 * fls: find last bit set.
320 */
321 #if defined(__alpha_cix__) && defined(__alpha_fix__)
322 static inline int fls(int word)
323 {
324 long result;
325 __asm__("ctlz %1,%0" : "=r"(result) : "r"(word &
0xffffffff));
326 return 64 - result;
327 }
328 #else
329 #define fls generic_fls
330 #endif
Right? :o)
Greetz,
Oliver
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Jun 23 2002 - 22:00:24 EST