From: Jaswinder Singh Rajput Date: Thu, 18 Jun 2009 11:23:25 +0000 (+0530) Subject: KVM: kvm/x86_emulate.c toggle_interruptibility() should be static X-Git-Tag: MMI-PSA29.97-13-9~27562^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a3f9d3981cd82d65232b733eb792382237d686bd;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git KVM: kvm/x86_emulate.c toggle_interruptibility() should be static toggle_interruptibility() is used only by same file, it should be static. Fixed following sparse warning : arch/x86/kvm/x86_emulate.c:1364:6: warning: symbol 'toggle_interruptibility' was not declared. Should it be static? Signed-off-by: Jaswinder Singh Rajput Signed-off-by: Avi Kivity --- diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index c1b6c232e02b..616de4628d60 100644 --- a/arch/x86/kvm/x86_emulate.c +++ b/arch/x86/kvm/x86_emulate.c @@ -1361,7 +1361,7 @@ static inline int writeback(struct x86_emulate_ctxt *ctxt, return 0; } -void toggle_interruptibility(struct x86_emulate_ctxt *ctxt, u32 mask) +static void toggle_interruptibility(struct x86_emulate_ctxt *ctxt, u32 mask) { u32 int_shadow = kvm_x86_ops->get_interrupt_shadow(ctxt->vcpu, mask); /*