Richard Henderson <[email protected]> writes: > From: "Emilio G. Cota" <[email protected]> > > Signed-off-by: Emilio G. Cota <[email protected]> > Message-Id: <[email protected]> > Signed-off-by: Richard Henderson <[email protected]>
Reviewed-by: Alex Bennée <[email protected]> > --- > cpu-exec.c | 6 ++---- > include/exec/exec-all.h | 2 ++ > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/cpu-exec.c b/cpu-exec.c > index 63a56d0..5b181c1 100644 > --- a/cpu-exec.c > +++ b/cpu-exec.c > @@ -309,10 +309,8 @@ static bool tb_cmp(const void *p, const void *d) > return false; > } > > -static TranslationBlock *tb_htable_lookup(CPUState *cpu, > - target_ulong pc, > - target_ulong cs_base, > - uint32_t flags) > +TranslationBlock *tb_htable_lookup(CPUState *cpu, target_ulong pc, > + target_ulong cs_base, uint32_t flags) > { > tb_page_addr_t phys_pc; > struct tb_desc desc; > diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h > index bcde1e6..87ae10b 100644 > --- a/include/exec/exec-all.h > +++ b/include/exec/exec-all.h > @@ -368,6 +368,8 @@ struct TranslationBlock { > void tb_free(TranslationBlock *tb); > void tb_flush(CPUState *cpu); > void tb_phys_invalidate(TranslationBlock *tb, tb_page_addr_t page_addr); > +TranslationBlock *tb_htable_lookup(CPUState *cpu, target_ulong pc, > + target_ulong cs_base, uint32_t flags); > > #if defined(USE_DIRECT_JUMP) -- Alex Bennée
