target/arm: Mark disas_set_insn_syndrome inline

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

Backports commit cf96a682481bbfb1e6b53d2436c3d51563d5dff8 from qemu
This commit is contained in:
Richard Henderson 2018-03-06 09:19:58 -05:00 committed by Lioncash
parent aeee985cc9
commit ca9a411074
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -105,7 +105,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.