diff options
Diffstat (limited to 'ipc/shm.c')
| -rw-r--r-- | ipc/shm.c | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -440,7 +440,7 @@ static inline int shm_more_checks(struct kern_ipc_perm *ipcp, | |||
| 440 | return 0; | 440 | return 0; |
| 441 | } | 441 | } |
| 442 | 442 | ||
| 443 | asmlinkage long sys_shmget (key_t key, size_t size, int shmflg) | 443 | SYSCALL_DEFINE3(shmget, key_t, key, size_t, size, int, shmflg) |
| 444 | { | 444 | { |
| 445 | struct ipc_namespace *ns; | 445 | struct ipc_namespace *ns; |
| 446 | struct ipc_ops shm_ops; | 446 | struct ipc_ops shm_ops; |
| @@ -621,7 +621,7 @@ out_up: | |||
| 621 | return err; | 621 | return err; |
| 622 | } | 622 | } |
| 623 | 623 | ||
| 624 | asmlinkage long sys_shmctl(int shmid, int cmd, struct shmid_ds __user *buf) | 624 | SYSCALL_DEFINE3(shmctl, int, shmid, int, cmd, struct shmid_ds __user *, buf) |
| 625 | { | 625 | { |
| 626 | struct shmid_kernel *shp; | 626 | struct shmid_kernel *shp; |
| 627 | int err, version; | 627 | int err, version; |
| @@ -939,7 +939,7 @@ out_put_dentry: | |||
| 939 | goto out_nattch; | 939 | goto out_nattch; |
| 940 | } | 940 | } |
| 941 | 941 | ||
| 942 | asmlinkage long sys_shmat(int shmid, char __user *shmaddr, int shmflg) | 942 | SYSCALL_DEFINE3(shmat, int, shmid, char __user *, shmaddr, int, shmflg) |
| 943 | { | 943 | { |
| 944 | unsigned long ret; | 944 | unsigned long ret; |
| 945 | long err; | 945 | long err; |
| @@ -955,7 +955,7 @@ asmlinkage long sys_shmat(int shmid, char __user *shmaddr, int shmflg) | |||
| 955 | * detach and kill segment if marked destroyed. | 955 | * detach and kill segment if marked destroyed. |
| 956 | * The work is done in shm_close. | 956 | * The work is done in shm_close. |
| 957 | */ | 957 | */ |
| 958 | asmlinkage long sys_shmdt(char __user *shmaddr) | 958 | SYSCALL_DEFINE1(shmdt, char __user *, shmaddr) |
| 959 | { | 959 | { |
| 960 | struct mm_struct *mm = current->mm; | 960 | struct mm_struct *mm = current->mm; |
| 961 | struct vm_area_struct *vma, *next; | 961 | struct vm_area_struct *vma, *next; |
