aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2018-02-14 22:05:46 -0500
committerRichard Henderson <richard.henderson@linaro.org>2019-02-06 10:49:21 +0000
commit84b41e658b02a6738b47cc4e03176f1b81d9e1d1 (patch)
tree07cd32454cac34e9e60a8aee0cdb2a3314a8a3c2 /target
parent47994e16b1d66411953623e7c0bf0cdcd50bd507 (diff)
downloadqemu-84b41e658b02a6738b47cc4e03176f1b81d9e1d1.zip
qemu-84b41e658b02a6738b47cc4e03176f1b81d9e1d1.tar.gz
qemu-84b41e658b02a6738b47cc4e03176f1b81d9e1d1.tar.bz2
target/hppa: use tb_cflags() to access tb->cflags
Signed-off-by: Emilio G. Cota <cota@braap.org> Message-Id: <1518663946-2326-1-git-send-email-cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target')
-rw-r--r--target/hppa/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index ce05d56..51bfd98 100644
--- a/target/hppa/translate.c
+++ b/target/hppa/translate.c
@@ -2059,7 +2059,7 @@ static DisasJumpType trans_mfctl(DisasContext *ctx, uint32_t insn,
/* FIXME: Respect PSW_S bit. */
nullify_over(ctx);
tmp = dest_gpr(ctx, rt);
- if (ctx->base.tb->cflags & CF_USE_ICOUNT) {
+ if (tb_cflags(ctx->base.tb) & CF_USE_ICOUNT) {
gen_io_start();
gen_helper_read_interval_timer(tmp);
gen_io_end();