Skip to contentSkip to conversation

[5104] Fix a nit in exec.c, by Tristan Gingold.

Qemu-devel Thiemo Seufer 1 participant 1 message Aug 29, 2008

lore
Share & tools
lore
#0 lore raw

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
===================================================================

exec.c +1 -1
@@ -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];