aboutsummaryrefslogtreecommitdiff
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:32 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-18 10:44:01 -0800
commitcd07013d49a928aa32ae44576e2eda9083d9eb48 (patch)
tree9c420fb97984688b6c9dc45af57b20db19745683 /kernel/fork.c
parenta673b4d54bf1d8c61df163e28ca6178d569fc162 (diff)
System call wrappers part 30
commit 6559eed8ca7db0531a207cd80be5e28cd6f213c5 upstream. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 4fc8b0f183c..f2c9c60e9eb 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1589,7 +1589,7 @@ static int unshare_fd(unsigned long unshare_flags, struct files_struct **new_fdp
* constructed. Here we are modifying the current, active,
* task_struct.
*/
-asmlinkage long sys_unshare(unsigned long unshare_flags)
+SYSCALL_DEFINE1(unshare, unsigned long, unshare_flags)
{
int err = 0;
struct fs_struct *fs, *new_fs = NULL;