diff options
| author | Sean Christopherson <seanjc@google.com> | 2025-07-29 08:39:01 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2025-09-11 08:57:16 -0700 |
| commit | 657bf7048d77c1db6baf0841dd1a65c60d7fc4c7 (patch) | |
| tree | 85467983670392cff23efe992b22c8952b75d98a /arch/x86/include/asm/kvm_para.h | |
| parent | x86/kvm: Force legacy PCI hole to UC when overriding MTRRs for TDX/SNP (diff) | |
| download | linux-657bf7048d77c1db6baf0841dd1a65c60d7fc4c7.tar.gz linux-657bf7048d77c1db6baf0841dd1a65c60d7fc4c7.zip | |
x86/kvm: Make kvm_async_pf_task_wake() a local static helper
Make kvm_async_pf_task_wake() static and drop its export, as the symbol is
only referenced from within kvm.c.
No functional change intended.
Link: https://lore.kernel.org/r/20250729153901.564123-1-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_para.h')
| -rw-r--r-- | arch/x86/include/asm/kvm_para.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/kvm_para.h b/arch/x86/include/asm/kvm_para.h index 57bc74e112f2..4a47c16e2df8 100644 --- a/arch/x86/include/asm/kvm_para.h +++ b/arch/x86/include/asm/kvm_para.h @@ -124,7 +124,6 @@ bool kvm_para_available(void); unsigned int kvm_arch_para_features(void); unsigned int kvm_arch_para_hints(void); void kvm_async_pf_task_wait_schedule(u32 token); -void kvm_async_pf_task_wake(u32 token); u32 kvm_read_and_reset_apf_flags(void); bool __kvm_handle_async_pf(struct pt_regs *regs, u32 token); @@ -148,7 +147,6 @@ static inline void kvm_spinlock_init(void) #else /* CONFIG_KVM_GUEST */ #define kvm_async_pf_task_wait_schedule(T) do {} while(0) -#define kvm_async_pf_task_wake(T) do {} while(0) static inline bool kvm_para_available(void) { |
