patch-2.3.23 linux/include/linux/shm.h
Next file: linux/include/linux/slab.h
Previous file: linux/include/linux/sched.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Oct 19 10:22:19 1999
- Orig file:
v2.3.22/linux/include/linux/shm.h
- Orig date:
Thu Aug 26 13:05:41 1999
diff -u --recursive --new-file v2.3.22/linux/include/linux/shm.h linux/include/linux/shm.h
@@ -24,7 +24,7 @@
struct shmid_ds u;
/* the following are private */
unsigned long shm_npages; /* size of segment (pages) */
- unsigned long *shm_pages; /* array of ptrs to frames -> SHMMAX */
+ pte_t *shm_pages; /* array of ptrs to frames -> SHMMAX */
struct vm_area_struct *attaches; /* descriptors for attaches */
};
@@ -72,7 +72,7 @@
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);
+extern void shm_unuse(pte_t entry, struct page *page);
#endif /* __KERNEL__ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)