aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index b1f8609287eb..70ca1852a0e5 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -901,7 +901,7 @@ static void copy_flags(unsigned long clone_flags, struct task_struct *p)
901 clear_freeze_flag(p); 901 clear_freeze_flag(p);
902} 902}
903 903
904asmlinkage long sys_set_tid_address(int __user *tidptr) 904SYSCALL_DEFINE1(set_tid_address, int __user *, tidptr)
905{ 905{
906 current->clear_child_tid = tidptr; 906 current->clear_child_tid = tidptr;
907 907
@@ -1604,7 +1604,7 @@ static int unshare_fd(unsigned long unshare_flags, struct files_struct **new_fdp
1604 * constructed. Here we are modifying the current, active, 1604 * constructed. Here we are modifying the current, active,
1605 * task_struct. 1605 * task_struct.
1606 */ 1606 */
1607asmlinkage long sys_unshare(unsigned long unshare_flags) 1607SYSCALL_DEFINE1(unshare, unsigned long, unshare_flags)
1608{ 1608{
1609 int err = 0; 1609 int err = 0;
1610 struct fs_struct *fs, *new_fs = NULL; 1610 struct fs_struct *fs, *new_fs = NULL;