aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--virt/kvm/arm/arch_timer.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/virt/kvm/arm/arch_timer.c b/virt/kvm/arm/arch_timer.c
index 14c018f990a7..cc29a8148328 100644
--- a/virt/kvm/arm/arch_timer.c
+++ b/virt/kvm/arm/arch_timer.c
@@ -846,10 +846,7 @@ int kvm_timer_enable(struct kvm_vcpu *vcpu)
846no_vgic: 846no_vgic:
847 preempt_disable(); 847 preempt_disable();
848 timer->enabled = 1; 848 timer->enabled = 1;
849 if (!irqchip_in_kernel(vcpu->kvm)) 849 kvm_timer_vcpu_load(vcpu);
850 kvm_timer_vcpu_load_user(vcpu);
851 else
852 kvm_timer_vcpu_load_vgic(vcpu);
853 preempt_enable(); 850 preempt_enable();
854 851
855 return 0; 852 return 0;