[tip:x86/cleanups] x86: vdso/vma.c declare vdso_enabled and arch_setup_additional_pages before they get used

From: Jaswinder Singh Rajput
Date: Sun Apr 12 2009 - 12:37:27 EST


Commit-ID: 3fa89ca7ba5ba50b3924a11f6604b4bdce5f7842
Gitweb: http://git.kernel.org/tip/3fa89ca7ba5ba50b3924a11f6604b4bdce5f7842
Author: Jaswinder Singh Rajput <jaswinder@xxxxxxxxxx>
AuthorDate: Sun, 12 Apr 2009 20:37:25 +0530
Committer: Ingo Molnar <mingo@xxxxxxx>
CommitDate: Sun, 12 Apr 2009 18:35:02 +0200

x86: vdso/vma.c declare vdso_enabled and arch_setup_additional_pages before they get used

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 <jaswinderrajput@xxxxxxxxx>
LKML-Reference: <1239548845.4170.2.camel@xxxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>


---
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 <linux/sched.h>
#include <linux/init.h>
#include <linux/random.h>
+#include <linux/elf.h>
#include <asm/vsyscall.h>
#include <asm/vgtod.h>
#include <asm/proto.h>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/