Commit d8173e0fbae694f2fa0e61fde15eb61e1f20532c
1 parent
559dd74d
Fix a nit in exec.c, by Tristan Gingold.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5104 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
exec.c
... | ... | @@ -286,7 +286,7 @@ static inline PageDesc *page_find_alloc(target_ulong index) |
286 | 286 | #if TARGET_LONG_BITS > 32 |
287 | 287 | /* Host memory outside guest VM. For 32-bit targets we have already |
288 | 288 | excluded high addresses. */ |
289 | - if (index > ((target_ulong)L2_SIZE * L1_SIZE * TARGET_PAGE_SIZE)) | |
289 | + if (index > ((target_ulong)L2_SIZE * L1_SIZE)) | |
290 | 290 | return NULL; |
291 | 291 | #endif |
292 | 292 | lp = &l1_map[index >> L2_BITS]; | ... | ... |