commit | 530c003252e07f1ea9df7f8a9adb1082d3a2eb08 | [log] [tgz] |
---|---|---|
author | Chen Gang <chengang@emindsoft.com.cn> | Thu Dec 24 09:07:33 2015 +0800 |
committer | Riku Voipio <riku.voipio@linaro.org> | Mon Jan 11 15:01:47 2016 +0200 |
tree | d54b2c9bdbfa38b7fee10d62809fc49947160d3d | |
parent | 5a53dc5042d9250f2011e54cd065ed360e34d2ac [diff] |
linux-user/mmap.c: Use end instead of real_end in target_mmap The fragment must effectively be mapped only to "end" not to "real_end" (which is a host page aligned address, and thus this is not a fragment). It is consistent with what it is done in the case of one single page. Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>