hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/arm64/kvm/arm.c
....@@ -750,7 +750,7 @@
750750 * involves poking the GIC, which must be done in a
751751 * non-preemptible context.
752752 */
753
- migrate_disable();
753
+ preempt_disable();
754754
755755 kvm_pmu_flush_hwstate(vcpu);
756756
....@@ -799,7 +799,7 @@
799799 kvm_timer_sync_user(vcpu);
800800 kvm_vgic_sync_hwstate(vcpu);
801801 local_irq_enable();
802
- migrate_enable();
802
+ preempt_enable();
803803 continue;
804804 }
805805
....@@ -871,7 +871,7 @@
871871 /* Exit types that need handling before we can be preempted */
872872 handle_exit_early(vcpu, ret);
873873
874
- migrate_enable();
874
+ preempt_enable();
875875
876876 /*
877877 * The ARMv8 architecture doesn't give the hypervisor