From: KAMEZAWA Hiroyuki For avoiding complex inclusion of headr file in the middle of another header file. Signed-off-by: KAMEZAWA Hiroyuki Cc: Andy Whitcroft Cc: Dave Hansen Cc: Martin Bligh Cc: "Luck, Tony" Cc: Christoph Lameter Signed-off-by: Andrew Morton --- include/linux/mmzone.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN include/linux/mmzone.h~virtual-memmap-on-sparsemem-v3-static-virtual-update include/linux/mmzone.h --- a/include/linux/mmzone.h~virtual-memmap-on-sparsemem-v3-static-virtual-update +++ a/include/linux/mmzone.h @@ -13,6 +13,7 @@ #include #include #include +#include #include #include @@ -637,7 +638,6 @@ extern struct zone *next_zone(struct zon #error Allocator MAX_ORDER exceeds SECTION_SIZE #endif -struct page; struct mem_section { /* * This is, logically, a pointer to an array of struct @@ -694,7 +694,6 @@ extern int __section_nr(struct mem_secti #error "PAGE_SIZE/SECTION_SIZE relationship is not suitable for vmem_map" #endif #ifdef CONFIG_SPARSEMEM_VMEMMAP_STATIC -#include extern struct page mem_map[]; #else extern struct page* mem_map; _