Commit b6785def authored by Jan Kiszka's avatar Jan Kiszka Committed by Marcelo Tosatti

KVM: x86: Make emulator_fix_hypercall static

No users outside of kvm/x86.c.
Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
parent 8b6e4547
...@@ -158,7 +158,7 @@ struct kvm_stats_debugfs_item debugfs_entries[] = { ...@@ -158,7 +158,7 @@ struct kvm_stats_debugfs_item debugfs_entries[] = {
u64 __read_mostly host_xcr0; 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); static int kvm_vcpu_reset(struct kvm_vcpu *vcpu);
...@@ -5068,7 +5068,7 @@ int kvm_emulate_hypercall(struct kvm_vcpu *vcpu) ...@@ -5068,7 +5068,7 @@ int kvm_emulate_hypercall(struct kvm_vcpu *vcpu)
} }
EXPORT_SYMBOL_GPL(kvm_emulate_hypercall); 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); struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt);
char instruction[3]; char instruction[3];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment