* [Qemu-devel] [PATCH] target/hppa: use tb_cflags() to access tb->cflags
@ 2018-02-15 3:05 Emilio G. Cota
2018-02-19 19:36 ` Richard Henderson
0 siblings, 1 reply; 2+ messages in thread
From: Emilio G. Cota @ 2018-02-15 3:05 UTC (permalink / raw)
To: qemu-devel; +Cc: Richard Henderson
Signed-off-by: Emilio G. Cota <cota@braap.org>
---
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 6499b39..b4b74a8 100644
--- a/target/hppa/translate.c
+++ b/target/hppa/translate.c
@@ -2075,7 +2075,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();
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] target/hppa: use tb_cflags() to access tb->cflags
2018-02-15 3:05 [Qemu-devel] [PATCH] target/hppa: use tb_cflags() to access tb->cflags Emilio G. Cota
@ 2018-02-19 19:36 ` Richard Henderson
0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2018-02-19 19:36 UTC (permalink / raw)
To: Emilio G. Cota, qemu-devel
On 02/14/2018 07:05 PM, Emilio G. Cota wrote:
> Signed-off-by: Emilio G. Cota <cota@braap.org>
> ---
> 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 6499b39..b4b74a8 100644
> --- a/target/hppa/translate.c
> +++ b/target/hppa/translate.c
> @@ -2075,7 +2075,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) {
Applied to tgt-hppa. Thanks.
r~
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-02-19 19:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-15 3:05 [Qemu-devel] [PATCH] target/hppa: use tb_cflags() to access tb->cflags Emilio G. Cota
2018-02-19 19:36 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).