diff options
author | Mihai Caraman <mihai.caraman@freescale.com> | 2014-09-01 17:19:56 +0300 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-09-22 10:11:34 +0200 |
commit | d02d4d156e72baf9a6628c76eb53019124d3c82f (patch) | |
tree | 19cd5ecbd1a2717a5951ddf01607b921488c2245 /arch/powerpc/kvm/booke.c | |
parent | 2f699a59f399d65d51df6eb916bf2e0f7c6f8148 (diff) | |
download | linux-rt-d02d4d156e72baf9a6628c76eb53019124d3c82f.tar.gz |
KVM: PPC: Remove the tasklet used by the hrtimer
Powerpc timer implementation is a copycat version of s390. Now that they removed
the tasklet with commit ea74c0ea1b24a6978a6ebc80ba4dbc7b7848b32d follow this
optimization.
Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm/booke.c')
-rw-r--r-- | arch/powerpc/kvm/booke.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c index b4e81e6be11a..97ec5b7fce9c 100644 --- a/arch/powerpc/kvm/booke.c +++ b/arch/powerpc/kvm/booke.c @@ -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); |