* FW: 2.5.24 on alpha; fls redefined!? HELP NEEDED
@ 2002-06-21 13:11 Oliver Pitzeier
0 siblings, 0 replies; only message in thread
From: Oliver Pitzeier @ 2002-06-21 13:11 UTC (permalink / raw)
FYI.
> 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-06-21 13:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-21 13:11 FW: 2.5.24 on alpha; fls redefined!? HELP NEEDED Oliver Pitzeier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox