From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Oliver Pitzeier" Newsgroups: gmane.linux.redhat.axp.kernel Subject: FW: 2.5.24 on alpha; fls redefined!? HELP NEEDED Date: Fri, 21 Jun 2002 15:11:04 +0200 Organization: UPtime system solutions Sender: axp-kernel-list-admin@redhat.com Message-ID: <000001c21925$1dbcec00$010b10ac@sbp.uptime.at> Reply-To: axp-kernel-list@redhat.com NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1024665143 6850 127.0.0.1 (21 Jun 2002 13:12:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 21 Jun 2002 13:12:23 +0000 (UTC) Return-path: Original-Received: from listman.redhat.com ([66.187.233.211]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17LOD8-0001m6-00 for ; Fri, 21 Jun 2002 15:12:22 +0200 Original-Received: from listman.redhat.com (localhost.localdomain [127.0.0.1]) by listman.redhat.com (Postfix) with ESMTP id D570B3F6F5; Fri, 21 Jun 2002 09:12:24 -0400 (EDT) Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 89A093F4A1 for ; Fri, 21 Jun 2002 09:11:39 -0400 (EDT) Original-Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id g5LDBca03135 for axp-kernel-list@listman.redhat.com; Fri, 21 Jun 2002 09:11:38 -0400 Original-Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g5LDBbd03131 for ; Fri, 21 Jun 2002 09:11:37 -0400 Original-Received: from vivi.uptime.at (vivi.uptime.at [62.116.87.11]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g5LD2V901067 for ; Fri, 21 Jun 2002 09:02:31 -0400 Original-Received: from LEFTIE (fw [62.116.87.2]) (authenticated) by vivi.uptime.at (8.11.6/8.11.6) with ESMTP id g5LDBEg19042 for ; Fri, 21 Jun 2002 15:11:14 +0200 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-MailScanner: Found to be clean X-Loop: axp-kernel-list@redhat.com Errors-To: axp-kernel-list-admin@redhat.com X-BeenThere: axp-kernel-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Alpha Kernel issues List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.linux.redhat.axp.kernel:56 X-Report-Spam: http://spam.gmane.org/gmane.linux.redhat.axp.kernel:56 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