tcg: Factor out CONFIG_USER_ONLY probe_write() from s390x code
authorDavid Hildenbrand <david@redhat.com>
Mon, 26 Aug 2019 07:51:08 +0000 (09:51 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 3 Sep 2019 15:34:18 +0000 (08:34 -0700)
commit59e96ac6cb13951dd09afc70622858089abf3384
treedb560c5f7a2a9b00eb223aff4d826b3342d80cbd
parent46750128631eaace54b69ddd8b63683edd4606cc
tcg: Factor out CONFIG_USER_ONLY probe_write() from s390x code

Factor it out into common code. Similar to the !CONFIG_USER_ONLY variant,
let's not allow to cross page boundaries.

Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20190826075112.25637-4-david@redhat.com>
[rth: Move cpu & cc variables inside if block.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/user-exec.c
include/exec/exec-all.h
target/s390x/mem_helper.c