aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorBrian Gerst <brgerst@gmail.com>2009-12-09 19:01:56 -0500
committerH. Peter Anvin <hpa@zytor.com>2009-12-09 19:29:42 -0500
commitf839bbc5c81b1c92ff8e81c360e9564f7b961b2e (patch)
tree038fef1b902db9ec43b1ab6b82861ebf2d56eef5 /arch/x86/include
parentf1382f157fb1175bba008abad0907310a1e459ce (diff)
x86: Merge sys_clone
Change 32-bit sys_clone to new PTREGSCALL stub, and merge with 64-bit. Signed-off-by: Brian Gerst <brgerst@gmail.com> LKML-Reference: <1260403316-5679-7-git-send-email-brgerst@gmail.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/syscalls.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/x86/include/asm/syscalls.h b/arch/x86/include/asm/syscalls.h
index df2c51106565..b0ce78061708 100644
--- a/arch/x86/include/asm/syscalls.h
+++ b/arch/x86/include/asm/syscalls.h
@@ -25,6 +25,8 @@ int sys_fork(struct pt_regs *);
25int sys_vfork(struct pt_regs *); 25int sys_vfork(struct pt_regs *);
26long sys_execve(char __user *, char __user * __user *, 26long sys_execve(char __user *, char __user * __user *,
27 char __user * __user *, struct pt_regs *); 27 char __user * __user *, struct pt_regs *);
28long sys_clone(unsigned long, unsigned long, void __user *,
29 void __user *, struct pt_regs *);
28 30
29/* kernel/ldt.c */ 31/* kernel/ldt.c */
30asmlinkage int sys_modify_ldt(int, void __user *, unsigned long); 32asmlinkage int sys_modify_ldt(int, void __user *, unsigned long);
@@ -42,9 +44,6 @@ asmlinkage int sys_get_thread_area(struct user_desc __user *);
42/* X86_32 only */ 44/* X86_32 only */
43#ifdef CONFIG_X86_32 45#ifdef CONFIG_X86_32
44 46
45/* kernel/process_32.c */
46int sys_clone(struct pt_regs *);
47
48/* kernel/signal.c */ 47/* kernel/signal.c */
49asmlinkage int sys_sigsuspend(int, int, old_sigset_t); 48asmlinkage int sys_sigsuspend(int, int, old_sigset_t);
50asmlinkage int sys_sigaction(int, const struct old_sigaction __user *, 49asmlinkage int sys_sigaction(int, const struct old_sigaction __user *,
@@ -73,9 +72,6 @@ int sys_vm86(unsigned long, unsigned long, struct pt_regs *);
73 72
74/* X86_64 only */ 73/* X86_64 only */
75/* kernel/process_64.c */ 74/* kernel/process_64.c */
76asmlinkage long sys_clone(unsigned long, unsigned long,
77 void __user *, void __user *,
78 struct pt_regs *);
79long sys_arch_prctl(int, unsigned long); 75long sys_arch_prctl(int, unsigned long);
80 76
81/* kernel/sys_x86_64.c */ 77/* kernel/sys_x86_64.c */