aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-21 04:39:51 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-21 04:39:51 -0500
commit198030782cedf25391e67e7c88b04f87a5eb6563 (patch)
tree5b7368c6bf052bcb4bb273497a57900720d36f51 /kernel/fork.c
parent4ec71fa2d2c3f1040348f2604f4b8ccc833d1c2e (diff)
parent92181f190b649f7ef2b79cbf5c00f26ccc66da2a (diff)
Merge branch 'x86/mm' into core/percpu
Conflicts: arch/x86/mm/fault.c
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 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
909asmlinkage long sys_set_tid_address(int __user *tidptr) 909SYSCALL_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 */
1611asmlinkage long sys_unshare(unsigned long unshare_flags) 1611SYSCALL_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;