target/s390x: Move s390_cpu_dump_state() to helper.c
commitb5bd2e91a6e5c7b87f1ea592c8604af59e87bf37
authorThomas Huth <thuth@redhat.com>
Mon, 24 Jul 2017 08:52:46 +0000 (24 10:52 +0200)
committerCornelia Huck <cohuck@redhat.com>
Tue, 25 Jul 2017 07:17:42 +0000 (25 09:17 +0200)
tree951feaa0f173669126ab0b8f85bd8a55c113c264
parent30e82de704574f33b5899c272a9da51d594209fe
target/s390x: Move s390_cpu_dump_state() to helper.c

translate.c can not be compiled with --disable-tcg, but we need
the s390_cpu_dump_state() in KVM-only builds, too. So let's move
that function to helper.c instead, which will also be compiled
when --disable-tcg has been specified.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1500886370-14572-2-git-send-email-thuth@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/helper.c
target/s390x/translate.c