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: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230828221314.18435-6-philmd@linaro.org>
This commit is contained in:
parent
026ad97e07
commit
dcc0f35d3f
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user