[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] spapr: Fix spapr_populate_memory() to compile o
From: |
David Gibson |
Subject: |
Re: [Qemu-devel] [PATCH] spapr: Fix spapr_populate_memory() to compile on windows |
Date: |
Mon, 8 Sep 2014 13:03:37 +1000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Mon, Sep 08, 2014 at 09:59:04AM +1000, 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 <address@hidden>
Looks sane to me.
Reviewed-by: David Gibson <address@hidden>
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
pgpyJVKOY6Zrk.pgp
Description: PGP signature