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

Next file: linux/include/linux/tqueue.h
Previous file: linux/include/linux/sdladrv.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.125/linux/include/linux/shm.h linux/include/linux/shm.h
@@ -14,8 +14,13 @@
 	__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 */
+};
+
+struct shmid_kernel
+{	
+	struct shmid_ds		u;
 	/* the following are private */
-	unsigned short		shm_npages;	/* size of segment (pages) */
+	unsigned long		shm_npages;	/* size of segment (pages) */
 	unsigned long		*shm_pages;	/* array of ptrs to frames -> SHMMAX */ 
 	struct vm_area_struct	*attaches;	/* descriptors for attaches */
 };

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