diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-11-13 23:21:26 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-12-20 17:44:57 +0100 |
commit | a6b3f532852463400c4602418f40628b6b9d24ad (patch) | |
tree | 9dbe780ceb726971b9921db0203f5ab1ecbace67 /target | |
parent | e3b64ebf494d07dfd6adf113115eac8819dbf0b0 (diff) | |
download | qemu-a6b3f532852463400c4602418f40628b6b9d24ad.zip qemu-a6b3f532852463400c4602418f40628b6b9d24ad.tar.gz qemu-a6b3f532852463400c4602418f40628b6b9d24ad.tar.bz2 |
target/arm/mte: Restrict 'exec/ram_addr.h' to system emulation
"exec/ram_addr.h" contains system specific declarations.
Restrict its inclusion to sysemu to avoid build errors
when refactoring.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241114011310.3615-10-philmd@linaro.org>
Diffstat (limited to 'target')
-rw-r--r-- | target/arm/tcg/mte_helper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/arm/tcg/mte_helper.c b/target/arm/tcg/mte_helper.c index 9d2ba28..b017b26 100644 --- a/target/arm/tcg/mte_helper.c +++ b/target/arm/tcg/mte_helper.c @@ -23,7 +23,9 @@ #include "internals.h" #include "exec/exec-all.h" #include "exec/page-protection.h" +#ifndef CONFIG_USER_ONLY #include "exec/ram_addr.h" +#endif #include "exec/cpu_ldst.h" #include "exec/helper-proto.h" #include "hw/core/tcg-cpu-ops.h" |