From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:51087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Svq3i-0004G3-DH for qemu-devel@nongnu.org; Mon, 30 Jul 2012 09:30:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Svq3d-0003vo-QK for qemu-devel@nongnu.org; Mon, 30 Jul 2012 09:30:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:8238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Svq3d-0003uK-89 for qemu-devel@nongnu.org; Mon, 30 Jul 2012 09:30:49 -0400 Message-ID: <50168C82.2070801@redhat.com> Date: Mon, 30 Jul 2012 15:30:42 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1343127865-16608-1-git-send-email-pbonzini@redhat.com> <1343127865-16608-37-git-send-email-pbonzini@redhat.com> <5012BC2F.6080607@redhat.com> In-Reply-To: <5012BC2F.6080607@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 36/47] host-utils: add ffsl and flsl List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: kwolf@redhat.com, jcody@redhat.com, qemu-devel@nongnu.org, stefanha@linux.vnet.ibm.com Il 27/07/2012 18:05, Eric Blake ha scritto: >> > +static inline int flsl(long val) > But what good is flsl (I'm assuming you mean find-last-set, or the > most-significant set bit), especially since there is no standardized > fls() and no fls() in host-utils.h? No idea why I thought that fls existed. Paolo