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/kernel | |
parent | 0dccbc75e18df85399a71933d60b97494110f559 (diff) |
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/kernel')
-rw-r--r-- | arch/x86/kernel/kvm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c index 57379698015e..56608d4d735f 100644 --- a/arch/x86/kernel/kvm.c +++ b/arch/x86/kernel/kvm.c @@ -190,7 +190,7 @@ static void apf_task_wake_all(void) } } -void kvm_async_pf_task_wake(u32 token) +static void kvm_async_pf_task_wake(u32 token) { u32 key = hash_32(token, KVM_TASK_SLEEP_HASHBITS); struct kvm_task_sleep_head *b = &async_pf_sleepers[key]; @@ -241,7 +241,6 @@ again: /* A dummy token might be allocated and ultimately not used. */ kfree(dummy); } -EXPORT_SYMBOL_GPL(kvm_async_pf_task_wake); noinstr u32 kvm_read_and_reset_apf_flags(void) { |