aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 5081e809821f..22fa819a9b6a 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)
277 277
278 host_vtimer_irq = ppi; 278 host_vtimer_irq = ppi;
279 279
280 err = register_cpu_notifier(&kvm_timer_cpu_nb); 280 err = __register_cpu_notifier(&kvm_timer_cpu_nb);
281 if (err) { 281 if (err) {
282 kvm_err("Cannot register timer CPU notifier\n"); 282 kvm_err("Cannot register timer CPU notifier\n");
283 goto out_free; 283 goto out_free;
diff --git a/virt/kvm/arm/vgic.c b/virt/kvm/arm/vgic.c
index 8ca405cd7c1a..47b29834a6b6 100644
--- a/virt/kvm/arm/vgic.c
+++ b/virt/kvm/arm/vgic.c
@@ -1496,7 +1496,7 @@ int kvm_vgic_hyp_init(void)
1496 goto out; 1496 goto out;
1497 } 1497 }
1498 1498
1499 ret = register_cpu_notifier(&vgic_cpu_nb); 1499 ret = __register_cpu_notifier(&vgic_cpu_nb);
1500 if (ret) { 1500 if (ret) {
1501 kvm_err("Cannot register vgic CPU notifier\n"); 1501 kvm_err("Cannot register vgic CPU notifier\n");
1502 goto out_free_irq; 1502 goto out_free_irq;