accel/tcg: Declare mmap_[un]lock() in 'exec/page-protection.h'
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sat, 23 Nov 2024 06:26:43 +0000 (07:26 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 20 Dec 2024 16:44:57 +0000 (17:44 +0100)
commit487a31e0acf9c5e11506ac34feba5a5671fd2dd9
treeff199be41c906be61ede0ce0e78da063aa579ef7
parentedf3bce969a70f6d97d6b26e686fe04f603f4b89
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>
accel/tcg/cpu-exec.c
accel/tcg/translate-all.c
accel/tcg/watchpoint.c
include/exec/exec-all.h
include/exec/page-protection.h
linux-user/flatload.c
target/arm/helper.c