]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/arm/kernel/sys_arm.c
[PATCH] consolidate sys_shmat
[mirror_ubuntu-bionic-kernel.git] / arch / arm / kernel / sys_arm.c
index 7ba6342cf93dde95d9f36f9a604d295394c09614..ef32577da304ba7f4c13a9c92d0f6a36631d3376 100644 (file)
@@ -227,18 +227,6 @@ asmlinkage int sys_ipc(uint call, int first, int second, int third,
        }
 }
 
-asmlinkage long sys_shmat(int shmid, char __user *shmaddr, int shmflg,
-                         unsigned long __user *addr)
-{
-       unsigned long ret;
-       long err;
-
-       err = do_shmat(shmid, shmaddr, shmflg, &ret);
-       if (err == 0)
-               err = put_user(ret, addr);
-       return err;
-}
-
 /* Fork a new task - this creates a new program thread.
  * This is called indirectly via a small wrapper
  */