* [PATCH -tip] x86: process.c declare sys_fork and sys_vfork before they get used
@ 2009-04-09 12:54 Jaswinder Singh Rajput
0 siblings, 0 replies; only message in thread
From: Jaswinder Singh Rajput @ 2009-04-09 12:54 UTC (permalink / raw)
To: Ingo Molnar, x86 maintainers, LKML
Impact: fix sparse warnings:
arch/x86/kernel/process.c:230:5: warning: symbol 'sys_fork' was not declared. Should it be static?
arch/x86/kernel/process.c:245:5: warning: symbol 'sys_vfork' was not declared. Should it be static?
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
---
arch/x86/kernel/process.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c
index 1d71442..4d397ce 100644
--- a/arch/x86/kernel/process.c
+++ b/arch/x86/kernel/process.c
@@ -15,6 +15,7 @@
#include <asm/uaccess.h>
#include <asm/i387.h>
#include <asm/ds.h>
+#include <asm/syscalls.h> /* sys_fork, sys_vfork */
unsigned long idle_halt;
EXPORT_SYMBOL(idle_halt);
--
1.6.0.6
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-09 12:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-09 12:54 [PATCH -tip] x86: process.c declare sys_fork and sys_vfork before they get used 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
all inboxes | Powered by JetHome®