diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-23 13:17:59 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-28 21:49:04 -0500 |
commit | d2125043aebf7f53cd1c72115c17b01d0bc06ce1 (patch) | |
tree | e6d510a22905d870a612660c2da0bdb6e36bc7e6 /include/asm-generic | |
parent | 25906730ec01be664534c9439d7cf5a373e8a4e4 (diff) |
generic sys_fork / sys_vfork / sys_clone
... and get rid of idiotic struct pt_regs * in asm-generic/syscalls.h
prototypes of the same, while we are at it. Eventually we want those
in linux/syscalls.h, of course, but that'll have to wait a bit.
Note that there are *three* variants of sys_clone() order of arguments.
Braindamage galore...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/syscalls.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/asm-generic/syscalls.h b/include/asm-generic/syscalls.h index d89dec864d42..7e4fdb649951 100644 --- a/include/asm-generic/syscalls.h +++ b/include/asm-generic/syscalls.h | |||
@@ -10,16 +10,15 @@ | |||
10 | */ | 10 | */ |
11 | #ifndef sys_clone | 11 | #ifndef sys_clone |
12 | asmlinkage long sys_clone(unsigned long clone_flags, unsigned long newsp, | 12 | asmlinkage long sys_clone(unsigned long clone_flags, unsigned long newsp, |
13 | void __user *parent_tid, void __user *child_tid, | 13 | void __user *parent_tid, void __user *child_tid); |
14 | struct pt_regs *regs); | ||
15 | #endif | 14 | #endif |
16 | 15 | ||
17 | #ifndef sys_fork | 16 | #ifndef sys_fork |
18 | asmlinkage long sys_fork(struct pt_regs *regs); | 17 | asmlinkage long sys_fork(void); |
19 | #endif | 18 | #endif |
20 | 19 | ||
21 | #ifndef sys_vfork | 20 | #ifndef sys_vfork |
22 | asmlinkage long sys_vfork(struct pt_regs *regs); | 21 | asmlinkage long sys_vfork(void); |
23 | #endif | 22 | #endif |
24 | 23 | ||
25 | #ifndef sys_execve | 24 | #ifndef sys_execve |