diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-11-13 23:17:34 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-12-20 17:44:56 +0100 |
commit | a6c0102a864014e8824abed3a499d93b87670e2c (patch) | |
tree | 615210e62c32e5d35e5a5df20a5997a1374d8e96 /linux-user | |
parent | 4081f5a698667e5584fb154d336e7e54c3949944 (diff) | |
download | qemu-a6c0102a864014e8824abed3a499d93b87670e2c.zip qemu-a6c0102a864014e8824abed3a499d93b87670e2c.tar.gz qemu-a6c0102a864014e8824abed3a499d93b87670e2c.tar.bz2 |
linux-user/aarch64: Include missing 'user/abitypes.h' header
arm_set_mte_tcf0() uses the abi_long type which is defined
in "user/abitypes.h". Include it in order to avoid when
refactoring:
In file included from ../../target/arm/gdbstub64.c:28:
../linux-user/aarch64/mte_user_helper.h:30:42: error: unknown type name ‘abi_long’; did you mean ‘u_long’?
30 | void arm_set_mte_tcf0(CPUArchState *env, abi_long value);
| ^~~~~~~~
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: <20241212185341.2857-3-philmd@linaro.org>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/aarch64/mte_user_helper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/aarch64/mte_user_helper.h b/linux-user/aarch64/mte_user_helper.h index 8685e51..0c53abd 100644 --- a/linux-user/aarch64/mte_user_helper.h +++ b/linux-user/aarch64/mte_user_helper.h @@ -9,6 +9,8 @@ #ifndef AARCH64_MTE_USER_HELPER_H #define AARCH64_MTE USER_HELPER_H +#include "user/abitypes.h" + #ifndef PR_MTE_TCF_SHIFT # define PR_MTE_TCF_SHIFT 1 # define PR_MTE_TCF_NONE (0UL << PR_MTE_TCF_SHIFT) |