Revert "arm, kvm: fix double lock on cpu_add_remove_lock"
authorChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 09:53:28 +0000 (11:53 +0200)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:19:25 +0000 (17:19 +0200)
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>
virt/kvm/arm/arch_timer.c
virt/kvm/arm/vgic.c

index 22fa819a9b6a7ba06b9c788bfc7b84ba0b07a0ea..5081e809821fad168b4a13932fb621787a1f533a 100644 (file)
@@ -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;
index 506693152e477c23fba44b7add3d3f6e57aceaef..8e1dc03342c3179b24a534517e4d6d60d873b1b7 100644 (file)
@@ -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;