patch-2.4.0-test10 linux/include/linux/mmzone.h

Next file: linux/include/linux/module.h
Previous file: linux/include/linux/mm.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test9/linux/include/linux/mmzone.h linux/include/linux/mmzone.h
@@ -101,14 +101,14 @@
  * prototypes for the discontig memory code.
  */
 struct page;
-extern void show_free_areas_core(int);
+extern void show_free_areas_core(pg_data_t *pgdat);
 extern void free_area_init_core(int nid, pg_data_t *pgdat, struct page **gmap,
   unsigned long *zones_size, unsigned long paddr, unsigned long *zholes_size,
   struct page *pmap);
 
-#ifndef CONFIG_DISCONTIGMEM
-
 extern pg_data_t contig_page_data;
+
+#ifndef CONFIG_DISCONTIGMEM
 
 #define NODE_DATA(nid)		(&contig_page_data)
 #define NODE_MEM_MAP(nid)	mem_map

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)