summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-11-28 23:04:26 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-11-28 23:43:27 -0500
commit24465a40ba452bd81fdc9eecb2d75bb903aafdf6 (patch)
tree859765acda3c65273fce6601029a7c4d8002c41d /arch/x86
parent1ea2a0160588582cd8414a8026d5b54f1705dfa1 (diff)
downloadlinux-24465a40ba452bd81fdc9eecb2d75bb903aafdf6.tar.gz
linux-24465a40ba452bd81fdc9eecb2d75bb903aafdf6.tar.bz2
linux-24465a40ba452bd81fdc9eecb2d75bb903aafdf6.zip
take sys_fork/sys_vfork/sys_clone prototypes to linux/syscalls.h
now it can be done... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/include/asm/syscalls.h11
-rw-r--r--arch/x86/um/shared/sysdep/syscalls.h2
2 files changed, 0 insertions, 13 deletions
diff --git a/arch/x86/include/asm/syscalls.h b/arch/x86/include/asm/syscalls.h
index f7252d11416b..2f8374718aa3 100644
--- a/arch/x86/include/asm/syscalls.h
+++ b/arch/x86/include/asm/syscalls.h
@@ -20,17 +20,6 @@
asmlinkage long sys_ioperm(unsigned long, unsigned long, int);
long sys_iopl(unsigned int, struct pt_regs *);
-/* kernel/process.c */
-asmlinkage long sys_fork(void);
-asmlinkage long sys_vfork(void);
-#ifdef CONFIG_CLONE_BACKWARDS
-asmlinkage long sys_clone(unsigned long, unsigned long, void __user *, int,
- void __user *);
-#else
-asmlinkage long sys_clone(unsigned long, unsigned long, void __user *,
- void __user *, int);
-#endif
-
/* kernel/ldt.c */
asmlinkage int sys_modify_ldt(int, void __user *, unsigned long);
diff --git a/arch/x86/um/shared/sysdep/syscalls.h b/arch/x86/um/shared/sysdep/syscalls.h
index ca255a805ed9..bd9a89b67e41 100644
--- a/arch/x86/um/shared/sysdep/syscalls.h
+++ b/arch/x86/um/shared/sysdep/syscalls.h
@@ -1,5 +1,3 @@
-extern long sys_clone(unsigned long clone_flags, unsigned long newsp,
- void __user *parent_tid, void __user *child_tid);
#ifdef __i386__
#include "syscalls_32.h"
#else