Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297075
b: refs/heads/master
c: 7401f62
h: refs/heads/master
i:
  297073: d976f62
  297071: 0363bf3
v: v3
  • Loading branch information
Bharat Bhushan authored and Avi Kivity committed Mar 5, 2012
1 parent 7f998b9 commit e877910
Show file tree
Hide file tree
Showing 2 changed files with 3 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: dc2babfea592e633cf3890294af6545609b466be
refs/heads/master: 7401f6266de021990efc7bc212289219ba8f9a7a
3 changes: 2 additions & 1 deletion trunk/arch/powerpc/kvm/emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ static int kvmppc_dec_enabled(struct kvm_vcpu *vcpu)
#else
static int kvmppc_dec_enabled(struct kvm_vcpu *vcpu)
{
return vcpu->arch.tcr & TCR_DIE;
/* On BOOKE, DEC = 0 is as good as decrementer not enabled */
return (vcpu->arch.tcr & TCR_DIE) && vcpu->arch.dec;
}
#endif

Expand Down

0 comments on commit e877910

Please sign in to comment.