patch-2.3.15 linux/include/linux/shm.h

Next file: linux/include/linux/skbuff.h
Previous file: linux/include/linux/sem.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.14/linux/include/linux/shm.h linux/include/linux/shm.h
@@ -68,10 +68,10 @@
 #define	SHM_DEST	01000	/* segment will be destroyed on last detach */
 #define SHM_LOCKED      02000   /* segment will not be swapped */
 
-asmlinkage int sys_shmget (key_t key, int size, int flag);
-asmlinkage int sys_shmat (int shmid, char *shmaddr, int shmflg, unsigned long *addr);
-asmlinkage int sys_shmdt (char *shmaddr);
-asmlinkage int sys_shmctl (int shmid, int cmd, struct shmid_ds *buf);
+asmlinkage long sys_shmget (key_t key, int size, int flag);
+asmlinkage long sys_shmat (int shmid, char *shmaddr, int shmflg, unsigned long *addr);
+asmlinkage long sys_shmdt (char *shmaddr);
+asmlinkage long sys_shmctl (int shmid, int cmd, struct shmid_ds *buf);
 extern void shm_unuse(unsigned long entry, unsigned long page);
 
 #endif /* __KERNEL__ */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)