bdata and pgdat initialization cleanup [3/5] remove pgdat->bdata
Subsystems (4)
RFC PATCH 1/1 bdata and pgdat initialization cleanup [3/5] remove pgdat->bdata
Because pgdat is not used in bootmem.c, pgdat->bdata can be removed.
Signed-off-by KAMEZAWA Hiroyuki <[email protected]>
include/linux/mmzone.h +0 -1
@@ -292,7 +292,6 @@ typedef struct pglist_data {#ifdef CONFIG_FLAT_NODE_MEM_MAP struct page *node_mem_map;#endif -struct bootmem_data *bdata;#ifdef CONFIG_MEMORY_HOTPLUG /* * Must be held any time you expect node_start_pfn, node_present_pages
mm/page_alloc.c +1 -1
@@ -2224,7 +2224,7 @@ void __init free_area_init_node(int nid, }#ifndef CONFIG_NEED_MULTIPLE_NODES -struct pglist_data contig_page_data = { .bdata =BOOTMEM (0 )}; +struct pglist_data contig_page_data;EXPORT_SYMBOL (contig_page_data);#endif
--
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>