aboutsummaryrefslogtreecommitdiff
path: root/virt/kvm
diff options
context:
space:
mode:
authorChristoffer Dall <christoffer.dall@linaro.org>2014-10-02 11:53:28 +0200
committerChristoffer Dall <christoffer.dall@linaro.org>2014-10-02 17:19:25 +0200
commitad4ef3e73e40166a585d71f36a521f9f6d5db3c4 (patch)
tree5ed05e667cc718b0082147cebd24a37af8ded542 /virt/kvm
parent2dc5e2cf90915059fbc39ef380605aef6adaef47 (diff)
Revert "arm, kvm: fix double lock on cpu_add_remove_lock"
This reverts commit d77503eadd2f16f2900b9be79a1dc6f37e8cd579. The whole register cpu hotplug fix series has not been applied, so LSK is released without this fix. If we ever include that series in LSK later, then this can be fixed later too. Signed-off-by: Ming Lei <tom.leiming@gmail.com> Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> (cherry picked from commit 553f809e23f00976caea7a1ebdabaa58a6383e7d) Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'virt/kvm')
-rw-r--r--virt/kvm/arm/arch_timer.c2
-rw-r--r--virt/kvm/arm/vgic.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/virt/kvm/arm/arch_timer.c b/virt/kvm/arm/arch_timer.c
index 22fa819a9b6a..5081e809821f 100644
--- a/virt/kvm/arm/arch_timer.c
+++ b/virt/kvm/arm/arch_timer.c
@@ -277,7 +277,7 @@ int kvm_timer_hyp_init(void)
host_vtimer_irq = ppi;
- err = __register_cpu_notifier(&kvm_timer_cpu_nb);
+ err = register_cpu_notifier(&kvm_timer_cpu_nb);
if (err) {
kvm_err("Cannot register timer CPU notifier\n");
goto out_free;
diff --git a/virt/kvm/arm/vgic.c b/virt/kvm/arm/vgic.c
index 506693152e47..8e1dc03342c3 100644
--- a/virt/kvm/arm/vgic.c
+++ b/virt/kvm/arm/vgic.c
@@ -2444,7 +2444,7 @@ int kvm_vgic_hyp_init(void)
return ret;
}
- ret = __register_cpu_notifier(&vgic_cpu_nb);
+ ret = register_cpu_notifier(&vgic_cpu_nb);
if (ret) {
kvm_err("Cannot register vgic CPU notifier\n");
goto out_free_irq;