Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7R9C-00047P-Gq for qemu-devel@nongnu.org; Tue, 02 Dec 2008 04:02:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7R99-00046z-Vo for qemu-devel@nongnu.org; Tue, 02 Dec 2008 04:02:21 -0500 Received: from [199.232.76.173] (port=49029 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7R99-00046w-HD for qemu-devel@nongnu.org; Tue, 02 Dec 2008 04:02:19 -0500 Received: from savannah.gnu.org ([199.232.41.3]:47779 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L7R99-0005sE-3P for qemu-devel@nongnu.org; Tue, 02 Dec 2008 04:02:19 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1L7R98-00062i-7H for qemu-devel@nongnu.org; Tue, 02 Dec 2008 09:02:18 +0000 Received: from pbrook by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1L7R97-00061l-E0 for qemu-devel@nongnu.org; Tue, 02 Dec 2008 09:02:17 +0000 MIME-Version: 1.0 Errors-To: pbrook Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Paul Brook Message-Id: Date: Tue, 02 Dec 2008 09:02:17 +0000 Subject: [Qemu-devel] [5852] Cosmetic cleanups to previous patch. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 5852 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5852 Author: pbrook Date: 2008-12-02 09:02:15 +0000 (Tue, 02 Dec 2008) Log Message: ----------- Cosmetic cleanups to previous patch. Modified Paths: -------------- trunk/exec.c Modified: trunk/exec.c =================================================================== --- trunk/exec.c 2008-12-01 20:57:52 UTC (rev 5851) +++ trunk/exec.c 2008-12-02 09:02:15 UTC (rev 5852) @@ -1973,7 +1973,6 @@ IO_MEM_ROMD uses these as a ram address. */ iotlb = (pd & ~TARGET_PAGE_MASK); if (p) { - /* FIXME: What if this isn't page aligned? */ iotlb += p->region_offset; } else { iotlb += paddr; @@ -2307,7 +2306,7 @@ if ((phys_offset & ~TARGET_PAGE_MASK) <= IO_MEM_ROM || (phys_offset & IO_MEM_ROMD)) { phys_offset += TARGET_PAGE_SIZE; - }else { + } else { target_phys_addr_t start_addr2, end_addr2; int need_subpage = 0;