From 2d4afb03e42aa4b77b5e04acf148781b565b36d2 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 2 May 2023 15:30:10 +0100 Subject: [PATCH] target/hppa: Use MO_ALIGN for system UNALIGN() Signed-off-by: Richard Henderson --- target/hppa/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/hppa/translate.c b/target/hppa/translate.c index 6a3154ebc6..59e4688bfa 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -271,7 +271,7 @@ typedef struct DisasContext { #ifdef CONFIG_USER_ONLY #define UNALIGN(C) (C)->unalign #else -#define UNALIGN(C) 0 +#define UNALIGN(C) MO_ALIGN #endif /* Note that ssm/rsm instructions number PSW_W and PSW_E differently. */