KVM: PPC: Remove the tasklet used by the hrtimer
[linux-2.6-block.git] / arch / powerpc / kvm / booke.c
index b4e81e6be11af69b49ecfde3968ffbe1b6247ba1..97ec5b7fce9c0087b03239c7575d0cda5f65d02a 100644 (file)
@@ -1822,10 +1822,8 @@ void kvmppc_clr_tsr_bits(struct kvm_vcpu *vcpu, u32 tsr_bits)
        update_timer_ints(vcpu);
 }
 
-void kvmppc_decrementer_func(unsigned long data)
+void kvmppc_decrementer_func(struct kvm_vcpu *vcpu)
 {
-       struct kvm_vcpu *vcpu = (struct kvm_vcpu *)data;
-
        if (vcpu->arch.tcr & TCR_ARE) {
                vcpu->arch.dec = vcpu->arch.decar;
                kvmppc_emulate_dec(vcpu);