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 81da4aae85cb..242a706e7721 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -899,7 +899,7 @@ static void copy_flags(unsigned long clone_flags, struct task_struct *p) | |||
899 | clear_freeze_flag(p); | 899 | clear_freeze_flag(p); |
900 | } | 900 | } |
901 | 901 | ||
902 | asmlinkage long sys_set_tid_address(int __user *tidptr) | 902 | SYSCALL_DEFINE1(set_tid_address, int __user *, tidptr) |
903 | { | 903 | { |
904 | current->clear_child_tid = tidptr; | 904 | current->clear_child_tid = tidptr; |
905 | 905 | ||
@@ -1601,7 +1601,7 @@ static int unshare_fd(unsigned long unshare_flags, struct files_struct **new_fdp | |||
1601 | * constructed. Here we are modifying the current, active, | 1601 | * constructed. Here we are modifying the current, active, |
1602 | * task_struct. | 1602 | * task_struct. |
1603 | */ | 1603 | */ |
1604 | asmlinkage long sys_unshare(unsigned long unshare_flags) | 1604 | SYSCALL_DEFINE1(unshare, unsigned long, unshare_flags) |
1605 | { | 1605 | { |
1606 | int err = 0; | 1606 | int err = 0; |
1607 | struct fs_struct *fs, *new_fs = NULL; | 1607 | struct fs_struct *fs, *new_fs = NULL; |