aboutsummaryrefslogtreecommitdiff
path: root/linux-user/user-internals.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-02-06 23:34:56 +0100
committerPeter Maydell <peter.maydell@linaro.org>2023-02-16 16:00:47 +0000
commitde4143fc77fd33a01b651cd00fb4f20b65de359b (patch)
treed31e05b81b9ca86d6377d58496d5d426a5d9a0cf /linux-user/user-internals.h
parent0f150c8499e970bd079a80394ccf65bcd7a54f12 (diff)
target/arm: Convert CPUARMState::eabi to boolean
Suggested-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20230206223502.25122-6-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'linux-user/user-internals.h')
-rw-r--r--linux-user/user-internals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/user-internals.h b/linux-user/user-internals.h
index 0280e76add..3576da413f 100644
--- a/linux-user/user-internals.h
+++ b/linux-user/user-internals.h
@@ -135,7 +135,7 @@ void print_termios(void *arg);
#ifdef TARGET_ARM
static inline int regpairs_aligned(CPUArchState *cpu_env, int num)
{
- return cpu_env->eabi == 1;
+ return cpu_env->eabi;
}
#elif defined(TARGET_MIPS) && defined(TARGET_ABI_MIPSO32)
static inline int regpairs_aligned(CPUArchState *cpu_env, int num) { return 1; }