diff mbox

KVM: x86: Make emulator_fix_hypercall static

Message ID 505AACF5.7000309@web.de (mailing list archive)
State New, archived
Headers show

Commit Message

Jan Kiszka Sept. 20, 2012, 5:43 a.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

No users outside of kvm/x86.c.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 arch/x86/kvm/x86.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Comments

Marcelo Tosatti Oct. 8, 2012, 5:03 p.m. UTC | #1
On Thu, Sep 20, 2012 at 07:43:17AM +0200, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> No users outside of kvm/x86.c.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

Applied, thanks.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 3701471..24f2278 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);

@@ -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];