diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-09-20 01:43:17 -0400 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2012-10-08 13:03:16 -0400 |
commit | b6785def8368f9a69505797fcbd9f280d91b673e (patch) | |
tree | fce977b4ea5742f5f228c2e980b1eb96ad07728b /arch/x86/kvm/x86.c | |
parent | 8b6e4547e0e4b6aac11df6d8d4e71ea2ab159b5e (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.c | 4 |
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 | ||
159 | u64 __read_mostly host_xcr0; | 159 | u64 __read_mostly host_xcr0; |
160 | 160 | ||
161 | int emulator_fix_hypercall(struct x86_emulate_ctxt *ctxt); | 161 | static int emulator_fix_hypercall(struct x86_emulate_ctxt *ctxt); |
162 | 162 | ||
163 | static int kvm_vcpu_reset(struct kvm_vcpu *vcpu); | 163 | static int kvm_vcpu_reset(struct kvm_vcpu *vcpu); |
164 | 164 | ||
@@ -5068,7 +5068,7 @@ out: | |||
5068 | } | 5068 | } |
5069 | EXPORT_SYMBOL_GPL(kvm_emulate_hypercall); | 5069 | EXPORT_SYMBOL_GPL(kvm_emulate_hypercall); |
5070 | 5070 | ||
5071 | int emulator_fix_hypercall(struct x86_emulate_ctxt *ctxt) | 5071 | static 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]; |