From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjsXI-0003M0-PH for qemu-devel@nongnu.org; Fri, 22 Nov 2013 10:20:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VjsXA-0000Aq-7D for qemu-devel@nongnu.org; Fri, 22 Nov 2013 10:20:48 -0500 Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]:40827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjsX9-0000Ag-Mi for qemu-devel@nongnu.org; Fri, 22 Nov 2013 10:20:39 -0500 Received: by mail-la0-f44.google.com with SMTP id ep20so1058929lab.31 for ; Fri, 22 Nov 2013 07:20:38 -0800 (PST) Received: from localhost (h59ec325f.selukar.dyn.perspektivbredband.net. [89.236.50.95]) by mx.google.com with ESMTPSA id vz9sm27290622lbb.17.2013.11.22.07.20.30 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 22 Nov 2013 07:20:31 -0800 (PST) From: edgar.iglesias@gmail.com Date: Fri, 22 Nov 2013 16:15:55 +0100 Message-Id: <1385133359-13770-5-git-send-email-edgar.iglesias@gmail.com> In-Reply-To: <1385133359-13770-1-git-send-email-edgar.iglesias@gmail.com> References: <1385133359-13770-1-git-send-email-edgar.iglesias@gmail.com> Subject: [Qemu-devel] [RFC PATCH 4/8] exec: Make memory_region_section_get_iotlb use section AS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec.c b/exec.c index 05df217..0162eb3 100644 --- a/exec.c +++ b/exec.c @@ -709,7 +709,7 @@ hwaddr memory_region_section_get_iotlb(CPUArchState *env, iotlb |= PHYS_SECTION_ROM; } } else { - iotlb = section - address_space_memory.dispatch->sections; + iotlb = section - section->address_space->dispatch->sections; iotlb += xlat; } -- 1.7.10.4