From patchwork Thu Sep 20 05:43:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 1482381 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 29810DF2D2 for ; Thu, 20 Sep 2012 05:43:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752044Ab2ITFnV (ORCPT ); Thu, 20 Sep 2012 01:43:21 -0400 Received: from mout.web.de ([212.227.17.12]:63683 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751767Ab2ITFnU (ORCPT ); Thu, 20 Sep 2012 01:43:20 -0400 Received: from mchn199C.mchp.siemens.de ([95.157.56.37]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0MK20H-1TFwaQ0hoz-001UnU; Thu, 20 Sep 2012 07:43:19 +0200 Message-ID: <505AACF5.7000309@web.de> Date: Thu, 20 Sep 2012 07:43:17 +0200 From: Jan Kiszka User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Avi Kivity , Marcelo Tosatti CC: kvm Subject: [PATCH] KVM: x86: Make emulator_fix_hypercall static X-Enigmail-Version: 1.4.4 X-Provags-ID: V02:K0:X1giHGyag4nR0WW1tFxvgfnLnKOCOK+EegaqNACHLYJ keWqfefTAkoDgLZsIbra2ad+7LeKGGO/JhuSyuctW/P2T59XhE VhLiLqhEhNpHlkEf3eqgcdPODhDis4ww2ByXFI/5ThpPObcP/H BTgbLgIzruaMY+pQBJKskKORnq6kCBEo8dvuq4EznbVoMqmrqs e7OqqQZtPc3YEd1iE25fw== Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org From: Jan Kiszka No users outside of kvm/x86.c. Signed-off-by: Jan Kiszka --- 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 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];