Re: [Qemu-devel] [PATCH v2] cpu_defs: Simplify CPUTLB padding logic

2015-07-09 Thread Paolo Bonzini
On 09/07/2015 05:26, Peter Crosthwaite wrote: > There was a complicated subtractive arithmetic for determining the > padding on the CPUTLBEntry structure. Simplify this with a union. > > Signed-off-by: Peter Crosthwaite > --- > Changed since v1: > Remove un-needed anonymous union (Paolo review)

Re: [Qemu-devel] [PATCH v2] cpu_defs: Simplify CPUTLB padding logic

2015-07-08 Thread Richard Henderson
On 07/09/2015 04:26 AM, Peter Crosthwaite wrote: There was a complicated subtractive arithmetic for determining the padding on the CPUTLBEntry structure. Simplify this with a union. Signed-off-by: Peter Crosthwaite --- Changed since v1: Remove un-needed anonymous union (Paolo review) --- inclu

[Qemu-devel] [PATCH v2] cpu_defs: Simplify CPUTLB padding logic

2015-07-08 Thread Peter Crosthwaite
There was a complicated subtractive arithmetic for determining the padding on the CPUTLBEntry structure. Simplify this with a union. Signed-off-by: Peter Crosthwaite --- Changed since v1: Remove un-needed anonymous union (Paolo review) --- include/exec/cpu-defs.h | 21 ++--- 1 fi