s390x/tcg: Reset exception_index to -1 instead of 0
commitbed04a2b9caec96cf339980b64d2939ee9541328
authorDavid Hildenbrand <david@redhat.com>
Mon, 2 Sep 2019 07:49:46 +0000 (2 09:49 +0200)
committerDavid Hildenbrand <david@redhat.com>
Mon, 23 Sep 2019 07:28:29 +0000 (23 09:28 +0200)
tree4c08be0bff0b28614357a8574c837f631a8f2bff
parent4300b7c2cd9f3f273804e8cca325842ccb93b1ad
s390x/tcg: Reset exception_index to -1 instead of 0

We use the marker "-1" for "no exception". s390_cpu_do_interrupt() might
get confused by that.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
target/s390x/mem_helper.c