From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAG8A-0004ds-JA for qemu-devel@nongnu.org; Mon, 03 Feb 2014 04:48:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAG84-00089B-Ox for qemu-devel@nongnu.org; Mon, 03 Feb 2014 04:47:54 -0500 Received: from mail-qc0-x233.google.com ([2607:f8b0:400d:c01::233]:60843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAG84-000896-I4 for qemu-devel@nongnu.org; Mon, 03 Feb 2014 04:47:48 -0500 Received: by mail-qc0-f179.google.com with SMTP id e16so10620230qcx.24 for ; Mon, 03 Feb 2014 01:47:48 -0800 (PST) From: "Edgar E. Iglesias" Date: Mon, 3 Feb 2014 19:44:32 +1000 Message-Id: <1391420690-23745-5-git-send-email-edgar.iglesias@gmail.com> In-Reply-To: <1391420690-23745-1-git-send-email-edgar.iglesias@gmail.com> References: <1391420690-23745-1-git-send-email-edgar.iglesias@gmail.com> Subject: [Qemu-devel] [PATCH v4 04/22] 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 Cc: peter.maydell@linaro.org, blauwirbel@gmail.com, aliguori@amazon.com, pcrost@xilinx.com, pbonzini@redhat.com, afaerber@suse.de, aurelien@aurel32.net, rth@twiddle.net 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 3814a7e..d8cfe52 100644 --- a/exec.c +++ b/exec.c @@ -781,7 +781,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; } -- 1.8.1.2