linux-user: fix page_unprotect when host page size > target page size
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 29 Mar 2010 00:12:51 +0000 (02:12 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 1 Apr 2010 19:51:59 +0000 (21:51 +0200)
commit8875d05fb50d896eea70a287ce33167e37877a7c
treea2918d748b8c125d6ce4d41506bf3fdcf0a4c092
parentee4b847cd54beb12dfbddc01240fd8ef8a9656ee
linux-user: fix page_unprotect when host page size > target page size

When the host page size is bigger that the target one, unprotecting a
page should:
- mark all the target pages corresponding to the host page as writable
- invalidate all tb corresponding to the host page (and not the target
  page)

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
exec.c