Skip to contentSkip to conversation

x86: process.c declare sys_fork and sys_vfork before they get used

PATCH New Jaswinder Singh Rajput 1 participant 1 message Apr 9, 2009 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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?

---
 arch/x86/kernel/process.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/x86/kernel/process.c +1 -0
index 1d71442..4d397ce 100644
@@ -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);
Signature · 1 line
1.6.0.6