Messages in this thread Patch in this message | | | From | Geliang Tang <> | Subject | [PATCH] kvm: x86: kvm_emulate_wbinvd_noskip should be static | Date | Sun, 27 Sep 2015 22:25:13 +0800 |
| |
Fixes the following sparse warning:
arch/x86/kvm/x86.c:4492:5: warning: symbol 'kvm_emulate_wbinvd_noskip' was not declared. Should it be static?
Signed-off-by: Geliang Tang <geliangtang@163.com> --- arch/x86/kvm/x86.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 62c7d74..92d1bf2 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -4489,7 +4489,7 @@ static void emulator_invlpg(struct x86_emulate_ctxt *ctxt, ulong address) kvm_mmu_invlpg(emul_to_vcpu(ctxt), address); } -int kvm_emulate_wbinvd_noskip(struct kvm_vcpu *vcpu) +static int kvm_emulate_wbinvd_noskip(struct kvm_vcpu *vcpu) { if (!need_emulate_wbinvd(vcpu)) return X86EMUL_CONTINUE; -- 2.5.0
| |