Re: [Qemu-devel] [PATCH 2/2] cpu_ldst.h: Collapse laddr() and saddr() into ldst_get_host_addr()

2015-01-13 Thread Peter Maydell
On 13 January 2015 at 18:32, Peter Maydell wrote: > The macros laddr() and saddr() are always defined to be identical > to each other. Replace them with a single macro, and give it a > longer name so it's easier to grep the codebase and confirm that > it's only used in this one place: ldst_get_hos

[Qemu-devel] [PATCH 2/2] cpu_ldst.h: Collapse laddr() and saddr() into ldst_get_host_addr()

2015-01-13 Thread Peter Maydell
The macros laddr() and saddr() are always defined to be identical to each other. Replace them with a single macro, and give it a longer name so it's easier to grep the codebase and confirm that it's only used in this one place: ldst_get_host_addr(). Signed-off-by: Peter Maydell --- include/exec/