memory: remove unnecessary masking of MemoryRegion ram_addr
commite4e697940dff612b789b0858270c20a8b680f78d
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Mar 2016 09:44:50 +0000 (1 10:44 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 23 May 2016 14:53:45 +0000 (23 16:53 +0200)
treea45241d86e8f4078279d2dfc9ba420eb8f1655b9
parent5b5660adf1fdb61db14ec681b10463b8cba633f1
memory: remove unnecessary masking of MemoryRegion ram_addr

mr->ram_block->offset is already aligned to both host and target size
(see qemu_ram_alloc_internal).  Remove further masking as it is
unnecessary.

Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
exec.c
memory.c
translate-all.c