[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-3fa89ca7ba5ba50b3924a11f6604b4bdce5f7842@git.kernel.org>
Date: Sun, 12 Apr 2009 16:36:32 GMT
From: Jaswinder Singh Rajput <jaswinder@...nel.org>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
jaswinder@...nel.org, tglx@...utronix.de, mingo@...e.hu,
jaswinderrajput@...il.com
Subject: [tip:x86/cleanups] x86: vdso/vma.c declare vdso_enabled and arch_setup_additional_pages before they get used
Commit-ID: 3fa89ca7ba5ba50b3924a11f6604b4bdce5f7842
Gitweb: http://git.kernel.org/tip/3fa89ca7ba5ba50b3924a11f6604b4bdce5f7842
Author: Jaswinder Singh Rajput <jaswinder@...nel.org>
AuthorDate: Sun, 12 Apr 2009 20:37:25 +0530
Committer: Ingo Molnar <mingo@...e.hu>
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@...il.com>
LKML-Reference: <1239548845.4170.2.camel@...alhost.localdomain>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists