aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-09-20 01:43:17 -0400
committerMarcelo Tosatti <mtosatti@redhat.com>2012-10-08 13:03:16 -0400
commitb6785def8368f9a69505797fcbd9f280d91b673e (patch)
treefce977b4ea5742f5f228c2e980b1eb96ad07728b /arch/x86/kvm/x86.c
parent8b6e4547e0e4b6aac11df6d8d4e71ea2ab159b5e (diff)
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 'arch/x86/kvm/x86.c')
-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[] = {
158 158
159u64 __read_mostly host_xcr0; 159u64 __read_mostly host_xcr0;
160 160
161int emulator_fix_hypercall(struct x86_emulate_ctxt *ctxt); 161static int emulator_fix_hypercall(struct x86_emulate_ctxt *ctxt);
162 162
163static int kvm_vcpu_reset(struct kvm_vcpu *vcpu); 163static int kvm_vcpu_reset(struct kvm_vcpu *vcpu);
164 164
@@ -5068,7 +5068,7 @@ out:
5068} 5068}
5069EXPORT_SYMBOL_GPL(kvm_emulate_hypercall); 5069EXPORT_SYMBOL_GPL(kvm_emulate_hypercall);
5070 5070
5071int emulator_fix_hypercall(struct x86_emulate_ctxt *ctxt) 5071static int emulator_fix_hypercall(struct x86_emulate_ctxt *ctxt)
5072{ 5072{
5073 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt); 5073 struct kvm_vcpu *vcpu = emul_to_vcpu(ctxt);
5074 char instruction[3]; 5074 char instruction[3];