Skip to content
Snippets Groups Projects
user avatar
Shaobo Song authored
This fixes a bug in POSIX-compliant environments. Since we had allocated
a buffer named 'tcg-jit' with read-write access protections we need a int
type to combine these access flags and return it, whereas we had inexplicably
return a bool type. It may cause an unnecessary protection change in
tcg_region_init().

Cc: qemu-stable@nongnu.org
Fixes: 7be9ebcf ("tcg: Return the map protection from alloc_code_gen_buffer")
Signed-off-by: default avatarShaobo Song <shnusongshaobo@gmail.com>
Reviewed-by: default avatarAlex Bennée <alex.bennee@linaro.org>
Message-Id: <20220624150216.3627-1-shnusongshaobo@gmail.com>
Signed-off-by: default avatarRichard Henderson <richard.henderson@linaro.org>
ba892411
History
Name Last commit Last update
..