Skip to content

Commit

Permalink
s390x/tcg: drop potential_page_fault()
Browse files Browse the repository at this point in the history
Only one user left, get rid of it so we don't get any new users.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20171130162744.25442-17-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
  • Loading branch information
davidhildenbrand authored and cohuck committed Dec 14, 2017
1 parent 51dcdbd commit cb3129c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions target/s390x/translate.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,6 @@ static void update_cc_op(DisasContext *s)
}
}

static void potential_page_fault(DisasContext *s)
{
update_psw_addr(s);
update_cc_op(s);
}

static inline uint64_t ld_code2(CPUS390XState *env, uint64_t pc)
{
return (uint64_t)cpu_lduw_code(env, pc);
Expand Down Expand Up @@ -2939,7 +2933,8 @@ static ExitStatus op_lpd(DisasContext *s, DisasOps *o)

/* In a parallel context, stop the world and single step. */
if (tb_cflags(s->tb) & CF_PARALLEL) {
potential_page_fault(s);
update_psw_addr(s);
update_cc_op(s);
gen_exception(EXCP_ATOMIC);
return EXIT_NORETURN;
}
Expand Down

0 comments on commit cb3129c

Please sign in to comment.