Re: [Qemu-block] [PATCH v2 4/6] exec.c: Use pow2floor() rather than hand-calculation

2015-08-14 Thread Paolo Bonzini
On 24/07/2015 14:33, Peter Maydell wrote: Use pow2floor() to round down to the nearest power of 2, rather than an inline calculation. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- exec.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/exec.c b/exec.c

[Qemu-block] [PATCH v2 4/6] exec.c: Use pow2floor() rather than hand-calculation

2015-07-24 Thread Peter Maydell
Use pow2floor() to round down to the nearest power of 2, rather than an inline calculation. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- exec.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/exec.c b/exec.c index 7d60e15..4710e2d 100644 --- a/exec.c +++