summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-05-21 18:40:11 -0700
committerSean Christopherson <seanjc@google.com>2024-06-11 14:18:45 -0700
commit2a27c431400797e0044872283d1971aa372fcd3a (patch)
tree2def068193c45f70f35d360645f1e45277d39cb9 /virt
parent8fbb696a8f5372dbf32045c6a03675ee378d6476 (diff)
downloadlinux-stable-2a27c431400797e0044872283d1971aa372fcd3a.tar.gz
linux-stable-2a27c431400797e0044872283d1971aa372fcd3a.tar.bz2
linux-stable-2a27c431400797e0044872283d1971aa372fcd3a.zip
KVM: Delete the now unused kvm_arch_sched_in()
Delete kvm_arch_sched_in() now that all implementations are nops. Reviewed-by: Bibo Mao <maobibo@loongson.cn> Acked-by: Kai Huang <kai.huang@intel.com> Link: https://lore.kernel.org/r/20240522014013.1672962-5-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'virt')
-rw-r--r--virt/kvm/kvm_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 007d8380062b..b60186b9c1d3 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -6292,7 +6292,6 @@ static void kvm_sched_in(struct preempt_notifier *pn, int cpu)
WRITE_ONCE(vcpu->ready, false);
__this_cpu_write(kvm_running_vcpu, vcpu);
- kvm_arch_sched_in(vcpu, cpu);
kvm_arch_vcpu_load(vcpu, cpu);
WRITE_ONCE(vcpu->scheduled_out, false);