|
@@ -284,8 +284,8 @@ void register_page_bootmem_info_node(struct pglist_data *pgdat)
|
|
|
}
|
|
|
#endif /* CONFIG_HAVE_BOOTMEM_INFO_NODE */
|
|
|
|
|
|
-static void grow_zone_span(struct zone *zone, unsigned long start_pfn,
|
|
|
- unsigned long end_pfn)
|
|
|
+static void __meminit grow_zone_span(struct zone *zone, unsigned long start_pfn,
|
|
|
+ unsigned long end_pfn)
|
|
|
{
|
|
|
unsigned long old_zone_end_pfn;
|
|
|
|
|
@@ -427,8 +427,8 @@ out_fail:
|
|
|
return -1;
|
|
|
}
|
|
|
|
|
|
-static void grow_pgdat_span(struct pglist_data *pgdat, unsigned long start_pfn,
|
|
|
- unsigned long end_pfn)
|
|
|
+static void __meminit grow_pgdat_span(struct pglist_data *pgdat, unsigned long start_pfn,
|
|
|
+ unsigned long end_pfn)
|
|
|
{
|
|
|
unsigned long old_pgdat_end_pfn = pgdat_end_pfn(pgdat);
|
|
|
|