Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KZ3jo-0006O0-7l for qemu-devel@nongnu.org; Fri, 29 Aug 2008 09:10:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KZ3jm-0006NR-QE for qemu-devel@nongnu.org; Fri, 29 Aug 2008 09:10:03 -0400 Received: from [199.232.76.173] (port=44083 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KZ3jm-0006NM-MV for qemu-devel@nongnu.org; Fri, 29 Aug 2008 09:10:02 -0400 Received: from savannah.gnu.org ([199.232.41.3]:38073 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 1KZ3jm-00083r-Me for qemu-devel@nongnu.org; Fri, 29 Aug 2008 09:10:02 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KZ3jl-0007iX-67 for qemu-devel@nongnu.org; Fri, 29 Aug 2008 13:10:01 +0000 Received: from ths by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KZ3jk-0007iR-UU for qemu-devel@nongnu.org; Fri, 29 Aug 2008 13:10:01 +0000 MIME-Version: 1.0 Errors-To: ths Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Thiemo Seufer Message-Id: Date: Fri, 29 Aug 2008 13:10:00 +0000 Subject: [Qemu-devel] [5104] Fix a nit in exec.c, by Tristan Gingold. 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: 5104 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5104 Author: ths Date: 2008-08-29 13:10:00 +0000 (Fri, 29 Aug 2008) Log Message: ----------- Fix a nit in exec.c, by Tristan Gingold. Modified Paths: -------------- trunk/exec.c Modified: trunk/exec.c =================================================================== --- trunk/exec.c 2008-08-29 10:05:12 UTC (rev 5103) +++ trunk/exec.c 2008-08-29 13:10:00 UTC (rev 5104) @@ -286,7 +286,7 @@ #if TARGET_LONG_BITS > 32 /* Host memory outside guest VM. For 32-bit targets we have already excluded high addresses. */ - if (index > ((target_ulong)L2_SIZE * L1_SIZE * TARGET_PAGE_SIZE)) + if (index > ((target_ulong)L2_SIZE * L1_SIZE)) return NULL; #endif lp = &l1_map[index >> L2_BITS];