aboutsummaryrefslogtreecommitdiff
path: root/linux-user/flatload.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-11-23 07:26:43 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-12-20 17:44:57 +0100
commit487a31e0acf9c5e11506ac34feba5a5671fd2dd9 (patch)
treeff199be41c906be61ede0ce0e78da063aa579ef7 /linux-user/flatload.c
parentedf3bce969a70f6d97d6b26e686fe04f603f4b89 (diff)
downloadqemu-487a31e0acf9c5e11506ac34feba5a5671fd2dd9.zip
qemu-487a31e0acf9c5e11506ac34feba5a5671fd2dd9.tar.gz
qemu-487a31e0acf9c5e11506ac34feba5a5671fd2dd9.tar.bz2
accel/tcg: Declare mmap_[un]lock() in 'exec/page-protection.h'
Move mmap_lock(), mmap_unlock() declarations and the WITH_MMAP_LOCK_GUARD() definition to 'exec/page-protection.h'. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20241212185341.2857-5-philmd@linaro.org>
Diffstat (limited to 'linux-user/flatload.c')
-rw-r--r--linux-user/flatload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/flatload.c b/linux-user/flatload.c
index 0e4be5b..d5cb183 100644
--- a/linux-user/flatload.c
+++ b/linux-user/flatload.c
@@ -34,6 +34,7 @@
#include "qemu/osdep.h"
#include "qemu.h"
+#include "exec/page-protection.h"
#include "user-internals.h"
#include "loader.h"
#include "user-mmap.h"