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 2bc2ac63f41e..873c86308b4e 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -3573,7 +3573,7 @@ static unsigned long __meminit zone_spanned_pages_in_node(int nid,
3573 * Return the number of holes in a range on a node. If nid is MAX_NUMNODES, 3573 * Return the number of holes in a range on a node. If nid is MAX_NUMNODES,
3574 * then all holes in the requested range will be accounted for. 3574 * then all holes in the requested range will be accounted for.
3575 */ 3575 */
3576static unsigned long __meminit __absent_pages_in_range(int nid, 3576unsigned long __meminit __absent_pages_in_range(int nid,
3577 unsigned long range_start_pfn, 3577 unsigned long range_start_pfn,
3578 unsigned long range_end_pfn) 3578 unsigned long range_end_pfn)
3579{ 3579{
@@ -4102,7 +4102,7 @@ static int __init cmp_node_active_region(const void *a, const void *b)
4102} 4102}
4103 4103
4104/* sort the node_map by start_pfn */ 4104/* sort the node_map by start_pfn */
4105static void __init sort_node_map(void) 4105void __init sort_node_map(void)
4106{ 4106{
4107 sort(early_node_map, (size_t)nr_nodemap_entries, 4107 sort(early_node_map, (size_t)nr_nodemap_entries,
4108 sizeof(struct node_active_region), 4108 sizeof(struct node_active_region),