From: Edgar E. Iglesias Date: Thu, 7 Nov 2013 17:43:28 +0000 (+0100) Subject: exec: Make memory_region_section_get_iotlb use section AS X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~386^2~42^2~194 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b3fb98ff0c72f233e41e6dee55b25d9303a7cdf;p=sdk%2Femulator%2Fqemu.git exec: Make memory_region_section_get_iotlb use section AS Reviewed-by: Peter Maydell Signed-off-by: Edgar E. Iglesias --- diff --git a/exec.c b/exec.c index f2e66f3f32..122e6e5f11 100644 --- a/exec.c +++ b/exec.c @@ -796,7 +796,7 @@ hwaddr memory_region_section_get_iotlb(CPUArchState *env, iotlb |= PHYS_SECTION_ROM; } } else { - iotlb = section - address_space_memory.dispatch->map.sections; + iotlb = section - section->address_space->dispatch->map.sections; iotlb += xlat; }