page_check_range: fix wrap around test (Lauro Ramos Venancio).
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 28 Oct 2008 10:24:11 +0000 (10:24 +0000)
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 28 Oct 2008 10:24:11 +0000 (10:24 +0000)
commitc5e705acea12cab32c5e98852b531cb7ce908c65
treed19001e25dc7b66808e4112b4ab49d1915a301e0
parentb968f8da4392e02bf535b6281cffe5c2e6496ec1
page_check_range: fix wrap around test (Lauro Ramos Venancio).

Move up the warp around test because line
'end = TARGET_PAGE_ALIGN(start+len);'
can interfere with it.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5563 c046a42c-6fe2-441c-8c8c-71466251a162
exec.c