Skip to contentSkip to conversation

remove zone_mem_map [4/4] compile fix

RFC PATCH New KAMEZAWA Hiroyuki 1 participant 1 message Feb 1, 2006

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 remove zone_mem_map [4/4] compile fix

Becuse zone doesn't contain struct page* mamber.
This patch is needed to compile memory_hotplug.h which is inculded by mmzone.h. Modifying including order is better ?

include/linux/mmzone.h +1 -1
Index: hogehoge/include/linux/mmzone.h
===================================================================
@@ -105,7 +105,7 @@ struct per_cpu_pageset {
  * ZONE_NORMAL	16-896 MB	direct mapped by the kernel
  * ZONE_HIGHMEM	 > 896 MB	only page cache and user processes
  */
-
+struct page;
 struct zone {
 	/* Fields commonly accessed by the page allocator */
 	unsigned long		free_pages;

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>