aboutsummaryrefslogtreecommitdiff
path: root/target-s390x/cpu.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-05-03 04:28:14 +0200
committerAndreas Färber <afaerber@suse.de>2012-06-11 00:23:04 +0200
commit45fa769b32861573409bceff53251cffafcf10a9 (patch)
tree9ae783217ed7c73f6685bf9bffb75b9c3020b86b /target-s390x/cpu.h
parent6fc150de80ffa9d3a7eba3e4f26793eb44347eda (diff)
s390-virtio: Let s390_cpu_addr2state() return S390CPU
Convert ipi_states to S390CPU**. Needed for s390_cpu_restart() in handle_sigp(). Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-s390x/cpu.h')
-rw-r--r--target-s390x/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-s390x/cpu.h b/target-s390x/cpu.h
index 10bfab0bf3..c30ac3a0e1 100644
--- a/target-s390x/cpu.h
+++ b/target-s390x/cpu.h
@@ -316,7 +316,7 @@ static inline void kvm_s390_interrupt_internal(CPUS390XState *env, int type,
{
}
#endif
-CPUS390XState *s390_cpu_addr2state(uint16_t cpu_addr);
+S390CPU *s390_cpu_addr2state(uint16_t cpu_addr);
void s390_add_running_cpu(CPUS390XState *env);
unsigned s390_del_running_cpu(CPUS390XState *env);