From dc80c1adf5db424ed4f66ac566f80c2f6188a908 Mon Sep 17 00:00:00 2001 From: Heiko Carstens Date: Tue, 26 Jun 2012 16:06:36 +0200 Subject: [PATCH] --- yaml --- r: 315862 b: refs/heads/master c: 9d04edd23e6ab368d25ca0adde6f1676185d49f8 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/s390/kernel/smp.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index f9fa800f7d02..b5c9ae08a42c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 36c1ed821bd11fb9a3f99a060b1553c114dc2d07 +refs/heads/master: 9d04edd23e6ab368d25ca0adde6f1676185d49f8 diff --git a/trunk/arch/s390/kernel/smp.c b/trunk/arch/s390/kernel/smp.c index 15cca26ccb6c..c78074c6cc1d 100644 --- a/trunk/arch/s390/kernel/smp.c +++ b/trunk/arch/s390/kernel/smp.c @@ -158,8 +158,8 @@ static inline int pcpu_running(struct pcpu *pcpu) if (__pcpu_sigp(pcpu->address, sigp_sense_running, 0, &pcpu->status) != sigp_status_stored) return 1; - /* Check for running status */ - return !(pcpu->status & 0x400); + /* Status stored condition code is equivalent to cpu not running. */ + return 0; } /*