Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932362AbWBCB1v (ORCPT ); Thu, 2 Feb 2006 20:27:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932333AbWBCB1v (ORCPT ); Thu, 2 Feb 2006 20:27:51 -0500 Received: from ns.miraclelinux.com ([219.118.163.66]:28487 "EHLO mail01.miraclelinux.com") by vger.kernel.org with ESMTP id S932329AbWBCB1s (ORCPT ); Thu, 2 Feb 2006 20:27:48 -0500 Date: Fri, 3 Feb 2006 10:27:35 +0900 To: Rune Torgersen Cc: linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, linux-ia64@vger.kernel.org, Ian Molton , David Howells , linuxppc-dev@ozlabs.org, Greg Ungerer , sparclinux@vger.kernel.org, Miles Bader , Linus Torvalds , Yoshinori Sato , Hirokazu Takata , linuxsh-shmedia-dev@lists.sourceforge.net, linux-m68k@vger.kernel.org, Ivan Kokshaysky , Richard Henderson , Chris Zankel , dev-etrax@axis.com, ultralinux@vger.kernel.org, Andi Kleen , linuxsh-dev@lists.sourceforge.net, linux390@de.ibm.com, Russell King , parisc-linux@parisc-linux.org, akpm@osdl.org, Stephen Hemminger Subject: [PATCH] fix generic_fls64() Message-ID: <20060203012735.GA21567@miraclelinux.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i From: mita@miraclelinux.com (Akinobu Mita) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 799 Lines: 28 Noticed by Rune Torgersen. fix generic_fls64(). tcp_cubic is using fls64(). Signed-off-by: Akinobu Mita include/linux/bitops.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: 2.6-git/include/linux/bitops.h =================================================================== --- 2.6-git.orig/include/linux/bitops.h +++ 2.6-git/include/linux/bitops.h @@ -81,7 +81,7 @@ static inline int generic_fls64(__u64 x) { __u32 h = x >> 32; if (h) - return fls(x) + 32; + return fls(h) + 32; return fls(x); } - 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/