Re: [Qemu-devel] [PATCH v5 01/15] bitops: Add MAKE_64BIT_MASK macro

2016-03-22 Thread Alex Bennée
Alistair Francis writes: > Add a macro that creates a 64bit value which has length number of ones > shifted acrros by the value of shift. > > Signed-off-by: Alistair Francis Reviewed-by: Alex Bennée > --- > V5: > - Re-write to a 64-bit mask instead of ONES() > - Re-order this patch in the

[Qemu-devel] [PATCH v5 01/15] bitops: Add MAKE_64BIT_MASK macro

2016-03-08 Thread Alistair Francis
Add a macro that creates a 64bit value which has length number of ones shifted acrros by the value of shift. Signed-off-by: Alistair Francis --- V5: - Re-write to a 64-bit mask instead of ONES() - Re-order this patch in the series include/qemu/bitops.h | 3 +++ 1 file changed, 3 insertions(+)