diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 4a9b318dad0d..5ba5f5d24899 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -906,7 +906,7 @@ static void copy_flags(unsigned long clone_flags, struct task_struct *p) | |||
906 | clear_freeze_flag(p); | 906 | clear_freeze_flag(p); |
907 | } | 907 | } |
908 | 908 | ||
909 | asmlinkage long sys_set_tid_address(int __user *tidptr) | 909 | SYSCALL_DEFINE1(set_tid_address, int __user *, tidptr) |
910 | { | 910 | { |
911 | current->clear_child_tid = tidptr; | 911 | current->clear_child_tid = tidptr; |
912 | 912 | ||
@@ -1608,7 +1608,7 @@ static int unshare_fd(unsigned long unshare_flags, struct files_struct **new_fdp | |||
1608 | * constructed. Here we are modifying the current, active, | 1608 | * constructed. Here we are modifying the current, active, |
1609 | * task_struct. | 1609 | * task_struct. |
1610 | */ | 1610 | */ |
1611 | asmlinkage long sys_unshare(unsigned long unshare_flags) | 1611 | SYSCALL_DEFINE1(unshare, unsigned long, unshare_flags) |
1612 | { | 1612 | { |
1613 | int err = 0; | 1613 | int err = 0; |
1614 | struct fs_struct *fs, *new_fs = NULL; | 1614 | struct fs_struct *fs, *new_fs = NULL; |