Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258045
b: refs/heads/master
c: 24294b9
h: refs/heads/master
i:
  258043: f3d6c1a
v: v3
  • Loading branch information
Stuart Yoder authored and Avi Kivity committed Jul 12, 2011
1 parent 3f650e4 commit a94c60e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 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: 45bd07b9d5202c910b31c92bd15572b560198c26
refs/heads/master: 24294b9a3fbe00289c039fb3e80087be66b8c415
9 changes: 0 additions & 9 deletions trunk/arch/powerpc/kvm/timing.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,6 @@ static void add_exit_timing(struct kvm_vcpu *vcpu, u64 duration, int type)
{
u64 old;

do_div(duration, tb_ticks_per_usec);
if (unlikely(duration > 0xFFFFFFFF)) {
printk(KERN_ERR"%s - duration too big -> overflow"
" duration %lld type %d exit #%d\n",
__func__, duration, type,
vcpu->arch.timing_count_type[type]);
return;
}

mutex_lock(&vcpu->arch.exit_timing_lock);

vcpu->arch.timing_count_type[type]++;
Expand Down

0 comments on commit a94c60e

Please sign in to comment.