[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1239281659.11859.21.camel@ht.satnam>
Date: Thu, 09 Apr 2009 18:24:19 +0530
From: Jaswinder Singh Rajput <jaswinder@...nel.org>
To: Ingo Molnar <mingo@...e.hu>, x86 maintainers <x86@...nel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH -tip] x86: process.c declare sys_fork and sys_vfork before
they get used
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@...il.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
--
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