From a94c60eba1f2af0e32331bbc6759cd136f93fa1a Mon Sep 17 00:00:00 2001 From: Stuart Yoder Date: Tue, 17 May 2011 18:26:00 -0500 Subject: [PATCH] --- yaml --- r: 258045 b: refs/heads/master c: 24294b9a3fbe00289c039fb3e80087be66b8c415 h: refs/heads/master i: 258043: f3d6c1a71d53eccb74b7e5c3aff968ab9ac80fd6 v: v3 --- [refs] | 2 +- trunk/arch/powerpc/kvm/timing.c | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/[refs] b/[refs] index f969f9985eb4..edb3fe7a722b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 45bd07b9d5202c910b31c92bd15572b560198c26 +refs/heads/master: 24294b9a3fbe00289c039fb3e80087be66b8c415 diff --git a/trunk/arch/powerpc/kvm/timing.c b/trunk/arch/powerpc/kvm/timing.c index 319177df9587..07b6110a4bb7 100644 --- a/trunk/arch/powerpc/kvm/timing.c +++ b/trunk/arch/powerpc/kvm/timing.c @@ -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]++;