summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/page_alloc.c')
-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 2efb6525d932..4ea71bc70413 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -8346,8 +8346,9 @@ done:
8346 pfn_max_align_up(end), migratetype); 8346 pfn_max_align_up(end), migratetype);
8347 return ret; 8347 return ret;
8348} 8348}
8349#endif /* CONFIG_CONTIG_ALLOC */
8349 8350
8350void free_contig_range(unsigned long pfn, unsigned nr_pages) 8351void free_contig_range(unsigned long pfn, unsigned int nr_pages)
8351{ 8352{
8352 unsigned int count = 0; 8353 unsigned int count = 0;
8353 8354
@@ -8359,7 +8360,6 @@ void free_contig_range(unsigned long pfn, unsigned nr_pages)
8359 } 8360 }
8360 WARN(count != 0, "%d pages are still in use!\n", count); 8361 WARN(count != 0, "%d pages are still in use!\n", count);
8361} 8362}
8362#endif
8363 8363
8364#ifdef CONFIG_MEMORY_HOTPLUG 8364#ifdef CONFIG_MEMORY_HOTPLUG
8365/* 8365/*