diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2019-10-01 10:16:13 -0700 |
---|---|---|
committer | David Hildenbrand <david@redhat.com> | 2019-10-09 12:49:02 +0200 |
commit | 5c58704b070e18bfa7a858cfa32b4f8b1d0d7ce8 (patch) | |
tree | 245c84437a76d86f67a6da2658e86092a970ecc5 /target/s390x/internal.h | |
parent | f5cbdc4397939b4a0fbae554bfe45ea37cf55804 (diff) | |
download | qemu-5c58704b070e18bfa7a858cfa32b4f8b1d0d7ce8.zip qemu-5c58704b070e18bfa7a858cfa32b4f8b1d0d7ce8.tar.gz qemu-5c58704b070e18bfa7a858cfa32b4f8b1d0d7ce8.tar.bz2 |
target/s390x: Remove ilen argument from trigger_pgm_exception
All but one caller passes ILEN_UNWIND, which is not stored.
For the one use case in s390_cpu_tlb_fill, set int_pgm_ilen
directly, simply to avoid the assert within do_program_interrupt.
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20191001171614.8405-18-richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'target/s390x/internal.h')
-rw-r--r-- | target/s390x/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/s390x/internal.h b/target/s390x/internal.h index c993c3e..d378161 100644 --- a/target/s390x/internal.h +++ b/target/s390x/internal.h @@ -317,7 +317,7 @@ void cpu_unmap_lowcore(LowCore *lowcore); /* interrupt.c */ -void trigger_pgm_exception(CPUS390XState *env, uint32_t code, uint32_t ilen); +void trigger_pgm_exception(CPUS390XState *env, uint32_t code); void cpu_inject_clock_comparator(S390CPU *cpu); void cpu_inject_cpu_timer(S390CPU *cpu); void cpu_inject_emergency_signal(S390CPU *cpu, uint16_t src_cpu_addr); |