aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/page_alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 74af449b1f1d..4e869657cb51 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -3579,7 +3579,7 @@ static unsigned long __meminit zone_spanned_pages_in_node(int nid,
3579 * Return the number of holes in a range on a node. If nid is MAX_NUMNODES, 3579 * Return the number of holes in a range on a node. If nid is MAX_NUMNODES,
3580 * then all holes in the requested range will be accounted for. 3580 * then all holes in the requested range will be accounted for.
3581 */ 3581 */
3582static unsigned long __meminit __absent_pages_in_range(int nid, 3582unsigned long __meminit __absent_pages_in_range(int nid,
3583 unsigned long range_start_pfn, 3583 unsigned long range_start_pfn,
3584 unsigned long range_end_pfn) 3584 unsigned long range_end_pfn)
3585{ 3585{
@@ -4108,7 +4108,7 @@ static int __init cmp_node_active_region(const void *a, const void *b)
4108} 4108}
4109 4109
4110/* sort the node_map by start_pfn */ 4110/* sort the node_map by start_pfn */
4111static void __init sort_node_map(void) 4111void __init sort_node_map(void)
4112{ 4112{
4113 sort(early_node_map, (size_t)nr_nodemap_entries, 4113 sort(early_node_map, (size_t)nr_nodemap_entries,
4114 sizeof(struct node_active_region), 4114 sizeof(struct node_active_region),