patch-2.4.1 linux/include/linux/mm.h
Next file: linux/include/linux/nfs_xdr.h
Previous file: linux/include/linux/lvm.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon Jan 29 23:24:56 2001
- Orig file:
v2.4.0/linux/include/linux/mm.h
- Orig date:
Thu Jan 4 14:50:47 2001
diff -u --recursive --new-file v2.4.0/linux/include/linux/mm.h linux/include/linux/mm.h
@@ -386,6 +386,7 @@
struct page * shmem_nopage(struct vm_area_struct * vma, unsigned long address, int no_share);
struct file *shmem_file_setup(char * name, loff_t size);
+extern void shmem_lock(struct file * file, int lock);
extern int shmem_zero_setup(struct vm_area_struct *);
extern void zap_page_range(struct mm_struct *mm, unsigned long address, unsigned long size);
@@ -464,6 +465,7 @@
#else
#define __GFP_HIGHMEM 0x0 /* noop */
#endif
+#define __GFP_VM 0x20
#define GFP_BUFFER (__GFP_HIGH | __GFP_WAIT)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)