[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-arm] [PATCH 1/9] target/arm: Mark disas_set_insn_syndrome inline

From: Richard Henderson
Subject: [Qemu-arm] [PATCH 1/9] target/arm: Mark disas_set_insn_syndrome inline
Date: Mon, 18 Dec 2017 09:30:14 -0800

If it isn't used when translate.h is included,
we'll get a compiler Werror.

Signed-off-by: Richard Henderson <address@hidden>
 target/arm/translate.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/arm/translate.h b/target/arm/translate.h
index cd7313ace7..3f4df91e5e 100644
--- a/target/arm/translate.h
+++ b/target/arm/translate.h
@@ -108,7 +108,7 @@ static inline int default_exception_el(DisasContext *s)
             ? 3 : MAX(1, s->current_el);
-static void disas_set_insn_syndrome(DisasContext *s, uint32_t syn)
+static inline void disas_set_insn_syndrome(DisasContext *s, uint32_t syn)
     /* We don't need to save all of the syndrome so we mask and shift
      * out unneeded bits to help the sleb128 encoder do a better job.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]