public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Oliver Pitzeier" <oliver@linux-kernel.at>
To: <linux-kernel@vger.kernel.org>
Subject: RE: 2.5.24 on alpha; fls redefined!? HELP NEEDED
Date: Fri, 21 Jun 2002 14:55:21 +0200	[thread overview]
Message-ID: <000601c21922$ea0c43d0$010b10ac@sbp.uptime.at> (raw)
In-Reply-To: <000501c21921$2ead26f0$010b10ac@sbp.uptime.at>

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



  reply	other threads:[~2002-06-21 12:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-21  6:48 2.5.24 doesn't compile on Alpha Jurriaan on Alpha
2002-06-21 12:42 ` 2.5.24 on alpha; fls redefined!? HELP NEEDED Oliver Pitzeier
2002-06-21 12:55   ` Oliver Pitzeier [this message]
     [not found] ` <000301c2191e$5a4a3080$010b10ac@sbp.uptime.at>
2002-06-21 14:19   ` 2.5.24 doesn't compile on Alpha Jurriaan on Alpha
2002-06-21 15:24     ` Ivan Kokshaysky
2002-06-21 20:37       ` Jurriaan on Alpha
2002-06-21 20:57         ` Jan-Benedict Glaw
2002-06-22  6:17           ` Jurriaan on Alpha
2002-06-23 14:10             ` Oliver Pitzeier @ Home
2002-06-23 14:11       ` Oliver Pitzeier @ Home
2002-06-24  9:05         ` Boot problems (WAS: RE: 2.5.24 doesn't compile on Alpha) Oliver Pitzeier @ Home

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000601c21922$ea0c43d0$010b10ac@sbp.uptime.at' \
    --to=oliver@linux-kernel.at \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox