summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-09-20 07:43:17 +0200
committerMarcelo Tosatti <mtosatti@redhat.com>2012-10-08 19:03:16 +0200
commitb6785def8368f9a69505797fcbd9f280d91b673e (patch)
treefce977b4ea5742f5f228c2e980b1eb96ad07728b /arch/x86/kvm/x86.c
parentKVM: x86: Convert kvm_arch_vcpu_reset into private kvm_vcpu_reset (diff)
downloadlinux-b6785def8368f9a69505797fcbd9f280d91b673e.tar.xz
linux-b6785def8368f9a69505797fcbd9f280d91b673e.zip
KVM: x86: Make emulator_fix_hypercall static
No users outside of kvm/x86.c. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to '')
-rw-r--r--arch/x86/kvm/x86.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index dfed7ca2d27a..841d09b123db 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -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);
@@ -5068,7 +5068,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];