aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2017-11-30 17:27:44 +0100
committerCornelia Huck <cohuck@redhat.com>2017-12-14 17:56:54 +0100
commitcb3129c3762ceadabcef7e9d319bae9243fc238e (patch)
treeaaaaf7d81b7b4b06fe52c79604cfd1280c5ad386 /target
parent51dcdbd319f8d46834d8155defc8d384a9958a73 (diff)
downloadqemu-cb3129c3762ceadabcef7e9d319bae9243fc238e.zip
qemu-cb3129c3762ceadabcef7e9d319bae9243fc238e.tar.gz
qemu-cb3129c3762ceadabcef7e9d319bae9243fc238e.tar.bz2
s390x/tcg: drop potential_page_fault()
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>
Diffstat (limited to 'target')
-rw-r--r--target/s390x/translate.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/target/s390x/translate.c b/target/s390x/translate.c
index 1ce1390..26cf993 100644
--- a/target/s390x/translate.c
+++ b/target/s390x/translate.c
@@ -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);
@@ -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;
}