diff options
| author | Yue Haibing <yuehaibing@huawei.com> | 2024-08-30 10:25:37 +0800 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2024-09-09 20:12:43 -0700 |
| commit | 4ca077f26d885cbc97e742a5f3572aac244a0f8a (patch) | |
| tree | ac27028936f3d7ec0558524519d6634cab048599 /arch/x86/kvm/lapic.h | |
| parent | KVM: x86: Forcibly leave nested if RSM to L2 hits shutdown (diff) | |
| download | linux-4ca077f26d885cbc97e742a5f3572aac244a0f8a.tar.gz linux-4ca077f26d885cbc97e742a5f3572aac244a0f8a.zip | |
KVM: x86: Remove some unused declarations
Commit 238adc77051a ("KVM: Cleanup LAPIC interface") removed
kvm_lapic_get_base() but leave declaration.
And other two declarations were never implenmented since introduction.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20240830022537.2403873-1-yuehaibing@huawei.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'arch/x86/kvm/lapic.h')
| -rw-r--r-- | arch/x86/kvm/lapic.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kvm/lapic.h b/arch/x86/kvm/lapic.h index 7ef8ae73e82d..7c95eedd771e 100644 --- a/arch/x86/kvm/lapic.h +++ b/arch/x86/kvm/lapic.h @@ -96,7 +96,6 @@ u64 kvm_lapic_get_cr8(struct kvm_vcpu *vcpu); void kvm_lapic_set_tpr(struct kvm_vcpu *vcpu, unsigned long cr8); void kvm_lapic_set_eoi(struct kvm_vcpu *vcpu); void kvm_lapic_set_base(struct kvm_vcpu *vcpu, u64 value); -u64 kvm_lapic_get_base(struct kvm_vcpu *vcpu); void kvm_recalculate_apic_map(struct kvm *kvm); void kvm_apic_set_version(struct kvm_vcpu *vcpu); void kvm_apic_after_set_mcg_cap(struct kvm_vcpu *vcpu); |
