On 29.11.2017 21:26, David Hildenbrand wrote: > Allows to easily convert more callers of program_interrupt() and to > easily introduce new exceptions without forgetting about the cpu state > reset. > > Use s390_program_interrupt() in places where we already had the same > pattern. We will later get rid of program_interrupt(). > > RA != 0 checks are already done behind the scenes. > > Reviewed-by: Richard Henderson <richard.hender...@linaro.org> > Signed-off-by: David Hildenbrand <da...@redhat.com> > --- > target/s390x/cpu.h | 2 ++ > target/s390x/crypto_helper.c | 7 ++----- > target/s390x/excp_helper.c | 5 +---- > target/s390x/interrupt.c | 13 +++++++++++++ > target/s390x/mem_helper.c | 35 +++++++++++------------------------ > target/s390x/misc_helper.c | 3 +-- > 6 files changed, 30 insertions(+), 35 deletions(-)
Reviewed-by: Thomas Huth <th...@redhat.com>