Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754835Ab3HPJc2 (ORCPT ); Fri, 16 Aug 2013 05:32:28 -0400 Received: from e39.co.us.ibm.com ([32.97.110.160]:35399 "EHLO e39.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754638Ab3HPJcZ (ORCPT ); Fri, 16 Aug 2013 05:32:25 -0400 From: Raghavendra K T To: , Jiri Kosina Cc: , , , , , , Raghavendra K T Subject: [PATCH trivial sparse fix] guest x86 kvm: fix sparse warning: symbol 'klock_waiting' was not declared. Should it be static Date: Fri, 16 Aug 2013 15:08:41 +0530 Message-Id: <1376645921-8056-1-git-send-email-raghavendra.kt@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: References: X-TM-AS-MML: No X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13081609-3620-0000-0000-000003F69771 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1016 Lines: 31 It was not declared as static since it was thought to be used by pv-flushtlb earlier. Signed-off-by: Raghavendra K T --- This should apply on top of tip/spinlocks and fixes the sparse warning introduced by pvspinlock patch series. arch/x86/kernel/kvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c index b8ef630..56e2fa4 100644 --- a/arch/x86/kernel/kvm.c +++ b/arch/x86/kernel/kvm.c @@ -529,7 +529,7 @@ arch_initcall(activate_jump_labels); #ifdef CONFIG_PARAVIRT_SPINLOCKS /* Kick a cpu by its apicid. Used to wake up a halted vcpu */ -void kvm_kick_cpu(int cpu) +static void kvm_kick_cpu(int cpu) { int apicid; unsigned long flags = 0; -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/