]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/fork.c
System call wrappers part 30
[karo-tx-linux.git] / kernel / fork.c
index 4fc8b0f183c7297c0b8081b966a26fb0ac52035b..f2c9c60e9eb068f897eaba0ee2c051917650655a 100644 (file)
@@ -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;