diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-08-28 14:47:52 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-08-31 19:47:43 +0200 |
commit | dcc0f35d3fdb32a61bc1e93234ba8c079ec8379a (patch) | |
tree | 5c89c9d90c3ce107686590ead6d274c8c64e62f4 /include/exec | |
parent | 026ad97e07fadd109e36e954bfd1706dc23cac36 (diff) | |
download | qemu-dcc0f35d3fdb32a61bc1e93234ba8c079ec8379a.zip qemu-dcc0f35d3fdb32a61bc1e93234ba8c079ec8379a.tar.gz qemu-dcc0f35d3fdb32a61bc1e93234ba8c079ec8379a.tar.bz2 |
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>
Diffstat (limited to 'include/exec')
-rw-r--r-- | include/exec/exec-all.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index d02517e..b2f5cd4 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -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" |