Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356855
b: refs/heads/master
c: a046b81
h: refs/heads/master
i:
  356853: 3d274da
  356851: 090c162
  356847: 790bd0f
v: v3
  • Loading branch information
Cong Ding authored and Gleb Natapov committed Jan 17, 2013
1 parent c8660b8 commit be55574
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 6b81b05e449e15abb60eaa4f62cdc7954f4d74f0
refs/heads/master: a046b816a4587c7898772af7cc7e6798cc8b56dd
4 changes: 3 additions & 1 deletion trunk/arch/s390/kvm/sigp.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,10 @@ static int __inject_sigp_stop(struct kvm_s390_local_interrupt *li, int action)
inti->type = KVM_S390_SIGP_STOP;

spin_lock_bh(&li->lock);
if ((atomic_read(li->cpuflags) & CPUSTAT_STOPPED))
if ((atomic_read(li->cpuflags) & CPUSTAT_STOPPED)) {
kfree(inti);
goto out;
}
list_add_tail(&inti->list, &li->list);
atomic_set(&li->active, 1);
atomic_set_mask(CPUSTAT_STOP_INT, li->cpuflags);
Expand Down

0 comments on commit be55574

Please sign in to comment.