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

Next file: linux/include/scsi/scsi_ioctl.h
Previous file: linux/include/linux/pci.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.3/linux/include/linux/shm.h linux/include/linux/shm.h
@@ -6,18 +6,18 @@
 #include <asm/shmparam.h>
 
 struct shmid_ds {
-	struct ipc_perm shm_perm;	/* operation perms */
-	int		shm_segsz;		/* size of segment (bytes) */
-	__kernel_time_t	shm_atime;		/* last attach time */
-	__kernel_time_t	shm_dtime;		/* last detach time */
-	__kernel_time_t	shm_ctime;		/* last change time */
-	__kernel_pid_t	shm_cpid;	/* pid of creator */
-	__kernel_pid_t	shm_lpid;	/* pid of last operator */
-	unsigned short	shm_nattch;		/* no. of current attaches */
+	struct ipc_perm		shm_perm;	/* operation perms */
+	int			shm_segsz;	/* size of segment (bytes) */
+	__kernel_time_t		shm_atime;	/* last attach time */
+	__kernel_time_t		shm_dtime;	/* last detach time */
+	__kernel_time_t		shm_ctime;	/* last change time */
+	__kernel_ipc_pid_t	shm_cpid;	/* pid of creator */
+	__kernel_ipc_pid_t	shm_lpid;	/* pid of last operator */
+	unsigned short		shm_nattch;	/* no. of current attaches */
 	/* the following are private */
-	unsigned short   shm_npages;	/* size of segment (pages) */
-	unsigned long   *shm_pages;	/* array of ptrs to frames -> SHMMAX */ 
-	struct vm_area_struct *attaches; /* descriptors for attaches */
+	unsigned short		shm_npages;	/* size of segment (pages) */
+	unsigned long		*shm_pages;	/* array of ptrs to frames -> SHMMAX */ 
+	struct vm_area_struct	*attaches;	/* descriptors for attaches */
 };
 
 /* permission flag for shmget */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov