Skip to content
Snippets Groups Projects
Commit dcc0f35d authored by Philippe Mathieu-Daudé's avatar Philippe Mathieu-Daudé
Browse files

target/translate: Restrict 'exec/cpu_ldst.h' to user emulation


Only handle_sigsegv_accerr_write(), declared with user
emulation, requires "exec/cpu_ldst.h" (for the abi_ptr
typedef).

Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-6-philmd@linaro.org>
parent 026ad97e
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@
#define EXEC_ALL_H
#include "cpu.h"
#ifdef CONFIG_TCG
#if defined(CONFIG_USER_ONLY)
#include "exec/cpu_ldst.h"
#endif
#include "exec/translation-block.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment