Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298889
b: refs/heads/master
c: 592f5d8
h: refs/heads/master
i:
  298887: b73fc4e
v: v3
  • Loading branch information
Alexander Graf authored and Paul Mackerras committed Apr 3, 2012
1 parent 7164ea2 commit 0e6eb0c
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: e1f8acf8380abfd52aefbfa524e74af5ce0c8492
refs/heads/master: 592f5d87b3feee9d60411f19d583038c0c7670ad
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/kvm/book3s_pr.c
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,7 @@ int kvmppc_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu,
}
}

preempt_disable();
if (!(r & RESUME_HOST)) {
/* To avoid clobbering exit_reason, only check for signals if
* we aren't already exiting to userspace for some other
Expand All @@ -798,8 +799,6 @@ int kvmppc_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu,
run->exit_reason = KVM_EXIT_INTR;
r = -EINTR;
} else {
preempt_disable();

/* In case an interrupt came in that was triggered
* from userspace (like DEC), we need to check what
* to inject now! */
Expand Down

0 comments on commit 0e6eb0c

Please sign in to comment.