From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38373) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQwWl-000283-JR for qemu-devel@nongnu.org; Mon, 08 Sep 2014 06:50:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XQwWf-0007Um-4d for qemu-devel@nongnu.org; Mon, 08 Sep 2014 06:50:31 -0400 Message-ID: <540D89EF.5090006@suse.de> Date: Mon, 08 Sep 2014 12:50:23 +0200 From: Alexander Graf MIME-Version: 1.0 References: <1410134344-30803-1-git-send-email-aik@ozlabs.ru> In-Reply-To: <1410134344-30803-1-git-send-email-aik@ozlabs.ru> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] spapr: Fix spapr_populate_memory() to compile on windows List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy , qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org On 08.09.14 01:59, Alexey Kardashevskiy wrote: > This replaces gcc's ffsl() function ("find first bit set in a word") > with QEMU's ctzl ("count trailing zeros"). There are no corner cases > in the affected code so simple replacement ffsl()-1 by ctzl() works. > > Signed-off-by: Alexey Kardashevskiy Thanks, squashed into "spapr: Split memory nodes to power-of-two blocks". Alex