patch-2.3.43 linux/include/linux/mm.h

Next file: linux/include/linux/mmzone.h
Previous file: linux/include/linux/miscdevice.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/include/linux/mm.h linux/include/linux/mm.h
@@ -394,7 +394,7 @@
 extern int check_pgt_cache(void);
 extern void paging_init(void);
-extern void free_area_init(unsigned int * zones_size);
+extern void free_area_init(unsigned long * zones_size);
 extern void free_area_init_node(int nid, pg_data_t *pgdat, 
 		unsigned int * zones_size, unsigned long zone_start_paddr);
 extern void mem_init(void);
@@ -462,7 +462,7 @@
 #define __GFP_DMA	0x20
-#define GFP_BUFFER	(__GFP_WAIT)
 #define GFP_ATOMIC	(__GFP_HIGH)
 #define GFP_USER	(__GFP_WAIT | __GFP_IO)
@@ -501,6 +501,8 @@
 /* Look up the first VMA which satisfies  addr < vm_end,  NULL if none. */
 extern struct vm_area_struct * find_vma(struct mm_struct * mm, unsigned long addr);
+extern struct vm_area_struct * find_vma_prev(struct mm_struct * mm, unsigned long addr,
+					     struct vm_area_struct **pprev);
 /* Look up the first VMA which intersects the interval start_addr..end_addr-1,
    NULL if none.  Assume start_addr < end_addr. */

TCL-scripts by Sam Shen (who was at: