From 634f1455fc34d417df209bc744c4134db26708bb Mon Sep 17 00:00:00 2001 From: Philippe Mathieu-Daudé Date: Thu, 12 Dec 2024 17:10:46 +0100 Subject: accel/tcg: Move page_[un]protect() to 'user/page-protection.h' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier Reviewed-by: Richard Henderson Message-Id: <20241212185341.2857-7-philmd@linaro.org> --- include/exec/translate-all.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/exec') diff --git a/include/exec/translate-all.h b/include/exec/translate-all.h index c50661a05d..039668ff8a 100644 --- a/include/exec/translate-all.h +++ b/include/exec/translate-all.h @@ -25,9 +25,4 @@ /* translate-all.c */ void tb_check_watchpoint(CPUState *cpu, uintptr_t retaddr); -#ifdef CONFIG_USER_ONLY -void page_protect(tb_page_addr_t page_addr); -int page_unprotect(tb_page_addr_t address, uintptr_t pc); -#endif - #endif /* TRANSLATE_ALL_H */ -- cgit 1.4.1