patch-2.0.13 linux/mm/page_alloc.c

Next file: linux/mm/vmscan.c
Previous file: linux/mm/memory.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.12/linux/mm/page_alloc.c linux/mm/page_alloc.c
@@ -43,7 +43,7 @@
 	unsigned int * map;
 };
 
-#define memory_head(x) ((struct page *)x)
+#define memory_head(x) ((struct page *)(x))
 
 static struct free_area_struct free_area[NR_MEM_LISTS];
 

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