mirror of
https://github.com/torvalds/linux.git
synced 2024-10-31 09:11:49 +00:00
Merge branch 'cpu-hotplug'
* cpu-hotplug: arm, kvm: fix double lock on cpu_add_remove_lock
This commit is contained in:
commit
48edb25986
@ -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;
|
||||
|
@ -1496,7 +1496,7 @@ int kvm_vgic_hyp_init(void)
|
||||
goto out;
|
||||
}
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user