* [PATCH -tip] x86: vdso/vma.c declare vdso_enabled and arch_setup_additional_pages before they get used
@ 2009-04-12 15:07 Jaswinder Singh Rajput
2009-04-12 16:36 ` [tip:x86/cleanups] " Jaswinder Singh Rajput
0 siblings, 1 reply; 2+ messages in thread
From: Jaswinder Singh Rajput @ 2009-04-12 15:07 UTC (permalink / raw)
To: Ingo Molnar, x86 maintainers, Andi Kleen, LKML
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>
---
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>
--
1.6.0.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip:x86/cleanups] x86: vdso/vma.c declare vdso_enabled and arch_setup_additional_pages before they get used
2009-04-12 15:07 [PATCH -tip] x86: vdso/vma.c declare vdso_enabled and arch_setup_additional_pages before they get used Jaswinder Singh Rajput
@ 2009-04-12 16:36 ` Jaswinder Singh Rajput
0 siblings, 0 replies; 2+ messages in thread
From: Jaswinder Singh Rajput @ 2009-04-12 16:36 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, hpa, mingo, jaswinder, tglx, mingo, jaswinderrajput
Commit-ID: 3fa89ca7ba5ba50b3924a11f6604b4bdce5f7842
Gitweb: http://git.kernel.org/tip/3fa89ca7ba5ba50b3924a11f6604b4bdce5f7842
Author: Jaswinder Singh Rajput <jaswinder@kernel.org>
AuthorDate: Sun, 12 Apr 2009 20:37:25 +0530
Committer: Ingo Molnar <mingo@elte.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@gmail.com>
LKML-Reference: <1239548845.4170.2.camel@localhost.localdomain>
Signed-off-by: Ingo Molnar <mingo@elte.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>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-12 16:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-12 15:07 [PATCH -tip] x86: vdso/vma.c declare vdso_enabled and arch_setup_additional_pages before they get used Jaswinder Singh Rajput
2009-04-12 16:36 ` [tip:x86/cleanups] " Jaswinder Singh Rajput
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox