From c4f0a595f0d8d04d5399e7638c14dd90ab5e79d0 Mon Sep 17 00:00:00 2001 From: Heiko Carstens Date: Mon, 4 Jun 2012 14:07:47 +0200 Subject: [PATCH] --- yaml --- r: 313853 b: refs/heads/master c: a095a8a9d5c2ffa15589298aabb64c75c39bf9be h: refs/heads/master i: 313851: 8e2dbeb7d5bd19555ea31374ddac63366ee6b317 v: v3 --- [refs] | 2 +- trunk/arch/s390/kernel/smp.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 0ff9caa6a15d..db056b9017a4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a9ae32c3d9a6557f24db0e186bf2f84205780b8a +refs/heads/master: a095a8a9d5c2ffa15589298aabb64c75c39bf9be diff --git a/trunk/arch/s390/kernel/smp.c b/trunk/arch/s390/kernel/smp.c index 6e4047e4b498..53ac2344ca7a 100644 --- a/trunk/arch/s390/kernel/smp.c +++ b/trunk/arch/s390/kernel/smp.c @@ -125,8 +125,7 @@ static inline int pcpu_stopped(struct pcpu *pcpu) if (__pcpu_sigp(pcpu->address, SIGP_SENSE, 0, &pcpu->status) != SIGP_CC_STATUS_STORED) return 0; - /* Check for stopped and check stop state */ - return !!(pcpu->status & 0x50); + return !!(pcpu->status & (SIGP_STATUS_CHECK_STOP|SIGP_STATUS_STOPPED)); } static inline int pcpu_running(struct pcpu *pcpu)