|
| From: | Richard Henderson |
| Subject: | Re: [PATCH 15/17] bsd-user: target_mprotect: use helper host_page_size local |
| Date: | Mon, 5 Aug 2024 07:33:10 +1000 |
| User-agent: | Mozilla Thunderbird |
On 8/3/24 09:56, Warner Losh wrote:
Use helper variable for host_page_size. Linux-user uses a similar helper to make the code smaller after the multi-page-size migration. Signed-off-by: Warner Losh<imp@bsdimp.com> --- bsd-user/mmap.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
| [Prev in Thread] | Current Thread | [Next in Thread] |