diff options
author | David Hildenbrand | 2018-01-29 13:56:16 +0100 |
---|---|---|
committer | Cornelia Huck | 2018-02-09 09:37:13 +0100 |
commit | 631b59664c9d8472d64c9c9c14b709dd40f07b16 (patch) | |
tree | 96023ad9d280f23c125266bb30bb5c48d7d0091f /target/s390x/internal.h | |
parent | s390x/flic: implement qemu_s390_clear_io_flic() (diff) | |
download | qemu-631b59664c9d8472d64c9c9c14b709dd40f07b16.tar.gz qemu-631b59664c9d8472d64c9c9c14b709dd40f07b16.tar.xz qemu-631b59664c9d8472d64c9c9c14b709dd40f07b16.zip |
s390x/flic: optimize CPU wakeup for TCG
Kicking all CPUs on every floating interrupt is far from efficient.
Let's optimize it at least a little bit.
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180129125623.21729-12-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x/internal.h')
-rw-r--r-- | target/s390x/internal.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/target/s390x/internal.h b/target/s390x/internal.h index fea165ffe4..d911e84958 100644 --- a/target/s390x/internal.h +++ b/target/s390x/internal.h @@ -278,11 +278,6 @@ static inline void s390_do_cpu_full_reset(CPUState *cs, run_on_cpu_data arg) cpu_reset(cs); } -static inline uint8_t s390_cpu_get_state(S390CPU *cpu) -{ - return cpu->env.cpu_state; -} - /* arch_dump.c */ int s390_cpu_write_elf64_note(WriteCoreDumpFunction f, CPUState *cs, |