diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-29 13:10:00 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-29 13:10:00 +0000 |
commit | d8173e0fbae694f2fa0e61fde15eb61e1f20532c (patch) | |
tree | c67db4bbba25343aa96d3833017e1c8b1fb8e272 | |
parent | 559dd74de8880b05ac9b3da2228f982aafa8f580 (diff) |
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
-rw-r--r-- | exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]; |