From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755450AbZDLPIS (ORCPT ); Sun, 12 Apr 2009 11:08:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754124AbZDLPIE (ORCPT ); Sun, 12 Apr 2009 11:08:04 -0400 Received: from hera.kernel.org ([140.211.167.34]:48755 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753062AbZDLPIB (ORCPT ); Sun, 12 Apr 2009 11:08:01 -0400 Subject: [PATCH -tip] x86: vdso/vma.c declare vdso_enabled and arch_setup_additional_pages before they get used From: Jaswinder Singh Rajput To: Ingo Molnar , x86 maintainers , Andi Kleen , LKML Content-Type: text/plain Date: Sun, 12 Apr 2009 20:37:25 +0530 Message-Id: <1239548845.4170.2.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.24.4 (2.24.4-1.fc10) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Impact: cleanup, address sparse warnings Addresses the problem pointed out by these sparse warning: arch/x86/vdso/vma.c:19:28: warning: symbol 'vdso_enabled' was not declared. Should it be static? arch/x86/vdso/vma.c:101:5: warning: symbol 'arch_setup_additional_pages' was not declared. Should it be static? Signed-off-by: Jaswinder Singh Rajput --- arch/x86/vdso/vma.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/vdso/vma.c b/arch/x86/vdso/vma.c index 7133cdf..cac0833 100644 --- a/arch/x86/vdso/vma.c +++ b/arch/x86/vdso/vma.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include -- 1.6.0.6