Merge tag 'wireless-drivers-next-for-davem-2015-01-02' of git://git.kernel.org/pub...
[cascardo/linux.git] / virt / kvm / arm / arch_timer.c
index 1c0772b..6e54f35 100644 (file)
@@ -152,7 +152,8 @@ void kvm_timer_sync_hwstate(struct kvm_vcpu *vcpu)
                return;
        }
 
-       ns = cyclecounter_cyc2ns(timecounter->cc, cval - now);
+       ns = cyclecounter_cyc2ns(timecounter->cc, cval - now, timecounter->mask,
+                                &timecounter->frac);
        timer_arm(timer, ns);
 }