aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2022-02-08 20:08:53 +0000
committerPeter Maydell <peter.maydell@linaro.org>2022-02-21 09:12:17 +0000
commit1df7af553f0ae598d18eed0028261d24e0a8a531 (patch)
tree32a169c110c24e8b7850c08bc728517785554073 /tcg
parent0ec4106a3259146b59817e3656aab9fccab08ee9 (diff)
include: Move qemu_mprotect_*() to new qemu/mprotect.h
The qemu_mprotect_*() family of functions are used in very few files; move them from osdep.h to a new qemu/mprotect.h. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220208200856.3558249-3-peter.maydell@linaro.org
Diffstat (limited to 'tcg')
-rw-r--r--tcg/region.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcg/region.c b/tcg/region.c
index c46021d160..7b4e65a52e 100644
--- a/tcg/region.c
+++ b/tcg/region.c
@@ -25,6 +25,7 @@
#include "qemu/osdep.h"
#include "qemu/units.h"
#include "qemu/madvise.h"
+#include "qemu/mprotect.h"
#include "qapi/error.h"
#include "exec/exec-all.h"
#include "tcg/tcg.h"