diff options
Diffstat (limited to 'target/s390x/cpu-system.c')
| -rw-r--r-- | target/s390x/cpu-system.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/target/s390x/cpu-system.c b/target/s390x/cpu-system.c index 2fa8c4d75d..709ccd5299 100644 --- a/target/s390x/cpu-system.c +++ b/target/s390x/cpu-system.c @@ -214,7 +214,7 @@ unsigned s390_count_running_cpus(void) return nr_running; } -unsigned int s390_cpu_halt(S390CPU *cpu) +void s390_cpu_halt(S390CPU *cpu) { CPUState *cs = CPU(cpu); trace_cpu_halt(cs->cpu_index); @@ -223,8 +223,6 @@ unsigned int s390_cpu_halt(S390CPU *cpu) cs->halted = 1; cs->exception_index = EXCP_HLT; } - - return s390_count_running_cpus(); } void s390_cpu_unhalt(S390CPU *cpu) |