Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 313853
b: refs/heads/master
c: a095a8a
h: refs/heads/master
i:
  313851: 8e2dbeb
v: v3
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Jun 5, 2012
1 parent ef59772 commit c4f0a59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a9ae32c3d9a6557f24db0e186bf2f84205780b8a
refs/heads/master: a095a8a9d5c2ffa15589298aabb64c75c39bf9be
3 changes: 1 addition & 2 deletions trunk/arch/s390/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c4f0a59

Please sign in to comment.