mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-11 17:10:13 +00:00
KVM: VMX: Make loaded_vmcs_clear() static in vmx.c
Make loaded_vmcs_clear() local to vmx.c as there are no longer any external callers. No functional change intended. Link: https://patch.msgid.link/20251106205114.218226-1-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
This commit is contained in:
parent
32ed0bc2f0
commit
dfd1572a64
@ -752,7 +752,7 @@ static void __loaded_vmcs_clear(void *arg)
|
||||
loaded_vmcs->launched = 0;
|
||||
}
|
||||
|
||||
void loaded_vmcs_clear(struct loaded_vmcs *loaded_vmcs)
|
||||
static void loaded_vmcs_clear(struct loaded_vmcs *loaded_vmcs)
|
||||
{
|
||||
int cpu = loaded_vmcs->cpu;
|
||||
|
||||
|
||||
@ -680,7 +680,6 @@ struct vmcs *alloc_vmcs_cpu(bool shadow, int cpu, gfp_t flags);
|
||||
void free_vmcs(struct vmcs *vmcs);
|
||||
int alloc_loaded_vmcs(struct loaded_vmcs *loaded_vmcs);
|
||||
void free_loaded_vmcs(struct loaded_vmcs *loaded_vmcs);
|
||||
void loaded_vmcs_clear(struct loaded_vmcs *loaded_vmcs);
|
||||
|
||||
static inline struct vmcs *alloc_vmcs(bool shadow)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user