Because zone_mem_map is removed, this warning appers at compile time.
include/linux/memory_hotplug.h:53: warning: 'struct page' declared inside parameter list
If CONFIG_FLAT_NODE_MEM_MAP==n (means CONFIG_FLATMEM || CONFIG_DISCONTIGMEM),
node_mem_map doesn't exist either. So this happens.
Signed-Off-By: KAMEZAWA Hiroyuki <[email protected]>
Index: testtree/include/linux/memory_hotplug.h
===================================================================
--- testtree.orig/include/linux/memory_hotplug.h
+++ testtree/include/linux/memory_hotplug.h
@@ -7,6 +7,7 @@
#include <linux/notifier.h>
#ifdef CONFIG_MEMORY_HOTPLUG
+struct page;
/*
* pgdat resizing functions
*/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]