|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH 0/5] replace qemu_fls() with pow2ceil()/pow2floor() |
Date: | Fri, 24 Jul 2015 10:48:51 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 |
On 24/07/2015 10:39, Peter Maydell wrote: >> > But in patch 4 the call is only in the rare case where "l & (l - 1)" is >> > not zero. > True. Any preferences for which header file to put them in? > qemu-common.h is where the prototype is currently and where > the inline is_power_of_2() is defined... Either there, or host-utils.h. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |