KVM: x86: Make emulator_fix_hypercall static
PATCH 1/1 KVM: x86: Make emulator_fix_hypercall static
From: Jan Kiszka <[email protected]>
No users outside of kvm/x86.c.
Signed-off-by Jan Kiszka <[email protected]>
--- arch/x86/kvm/x86.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/kvm/x86.c +2 -2
@@ -158,7 +158,7 @@ struct kvm_stats_debugfs_item debugfs_entries[] = {u64 __read_mostly host_xcr0; -int emulator_fix_hypercall (struct x86_emulate_ctxt *ctxt); +static int emulator_fix_hypercall (struct x86_emulate_ctxt *ctxt);static int kvm_vcpu_reset (struct kvm_vcpu *vcpu);
@@ -5058,7 +5058,7 @@ out: }EXPORT_SYMBOL_GPL (kvm_emulate_hypercall); -int emulator_fix_hypercall (struct x86_emulate_ctxt *ctxt) +static int emulator_fix_hypercall (struct x86_emulate_ctxt *ctxt) {struct kvm_vcpu *vcpu =emul_to_vcpu (ctxt);char instruction[3 ];
Signature · 1 line
1.7.3.4
Marcelo Tosatti
AppliedQuoted 5 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
No users outside of
kvm/x86.c.Signed-off-by Jan Kiszka <[email protected]>
Applied, thanks.