mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-18 05:28:36 -07:00
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
This commit is contained in:
parent
559dd74de8
commit
d8173e0fba
1 changed files with 1 additions and 1 deletions
2
exec.c
2
exec.c
|
|
@ -286,7 +286,7 @@ static inline PageDesc *page_find_alloc(target_ulong index)
|
||||||
#if TARGET_LONG_BITS > 32
|
#if TARGET_LONG_BITS > 32
|
||||||
/* Host memory outside guest VM. For 32-bit targets we have already
|
/* Host memory outside guest VM. For 32-bit targets we have already
|
||||||
excluded high addresses. */
|
excluded high addresses. */
|
||||||
if (index > ((target_ulong)L2_SIZE * L1_SIZE * TARGET_PAGE_SIZE))
|
if (index > ((target_ulong)L2_SIZE * L1_SIZE))
|
||||||
return NULL;
|
return NULL;
|
||||||
#endif
|
#endif
|
||||||
lp = &l1_map[index >> L2_BITS];
|
lp = &l1_map[index >> L2_BITS];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue