summaryrefslogtreecommitdiff
path: root/arch/x86/vdso
diff options
context:
space:
mode:
authorJaswinder Singh Rajput <jaswinder@kernel.org>2009-04-12 20:37:25 +0530
committerIngo Molnar <mingo@elte.hu>2009-04-12 18:35:02 +0200
commit3fa89ca7ba5ba50b3924a11f6604b4bdce5f7842 (patch)
treec49f7c80efd8aa41baf653f463fc317f136f85e7 /arch/x86/vdso
parent2c1b284e4fa260fd922b9a65c99169e2630c6862 (diff)
downloadlinux-3.10-3fa89ca7ba5ba50b3924a11f6604b4bdce5f7842.tar.gz
linux-3.10-3fa89ca7ba5ba50b3924a11f6604b4bdce5f7842.tar.bz2
linux-3.10-3fa89ca7ba5ba50b3924a11f6604b4bdce5f7842.zip
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@gmail.com> LKML-Reference: <1239548845.4170.2.camel@localhost.localdomain> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/vdso')
-rw-r--r--arch/x86/vdso/vma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/vdso/vma.c b/arch/x86/vdso/vma.c
index 7133cdf9098..cac083386e0 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>