Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
philmd committed Aug 31, 2023
1 parent 026ad97 commit dcc0f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/exec/exec-all.h
Expand Up @@ -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"
Expand Down

0 comments on commit dcc0f35

Please sign in to comment.