linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC][PATCH] remove zone_mem_map [4/4] compile fix
@ 2006-02-01  3:29 KAMEZAWA Hiroyuki
  0 siblings, 0 replies; only message in thread
From: KAMEZAWA Hiroyuki @ 2006-02-01  3:29 UTC (permalink / raw)
  To: linux-mm; +Cc: Martin J. Bligh

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 ?

Signed-Off-By: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>

Index: hogehoge/include/linux/mmzone.h
===================================================================
--- hogehoge.orig/include/linux/mmzone.h
+++ 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 majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-01  3:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-01  3:29 [RFC][PATCH] remove zone_mem_map [4/4] compile fix KAMEZAWA Hiroyuki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox