diff options
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/smp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c index 15cca26ccb6c..c78074c6cc1d 100644 --- a/arch/s390/kernel/smp.c +++ b/arch/s390/kernel/smp.c | |||
@@ -158,8 +158,8 @@ static inline int pcpu_running(struct pcpu *pcpu) | |||
158 | if (__pcpu_sigp(pcpu->address, sigp_sense_running, | 158 | if (__pcpu_sigp(pcpu->address, sigp_sense_running, |
159 | 0, &pcpu->status) != sigp_status_stored) | 159 | 0, &pcpu->status) != sigp_status_stored) |
160 | return 1; | 160 | return 1; |
161 | /* Check for running status */ | 161 | /* Status stored condition code is equivalent to cpu not running. */ |
162 | return !(pcpu->status & 0x400); | 162 | return 0; |
163 | } | 163 | } |
164 | 164 | ||
165 | /* | 165 | /* |