projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
559dd74
)
Fix a nit in exec.c, by Tristan Gingold.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 29 Aug 2008 13:10:00 +0000
(13:10 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 29 Aug 2008 13:10:00 +0000
(13:10 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5104
c046a42c
-6fe2-441c-8c8c-
71466251a162
exec.c
patch
|
blob
|
history
diff --git
a/exec.c
b/exec.c
index a0aa7dc18aa949fb6d180d75f5de99af325375b4..3f686d8450662339ae7e5e26749c5e844007bcaf 100644
(file)
--- a/
exec.c
+++ b/
exec.c
@@
-286,7
+286,7
@@
static inline PageDesc *page_find_alloc(target_ulong index)
#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];