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 c09c2c8d2c6a..b604c64a0337 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -3669,7 +3669,7 @@ static void __init sort_node_map(void)
3669} 3669}
3670 3670
3671/* Find the lowest pfn for a node */ 3671/* Find the lowest pfn for a node */
3672unsigned long __init find_min_pfn_for_node(unsigned long nid) 3672unsigned long __init find_min_pfn_for_node(int nid)
3673{ 3673{
3674 int i; 3674 int i;
3675 unsigned long min_pfn = ULONG_MAX; 3675 unsigned long min_pfn = ULONG_MAX;
@@ -3680,7 +3680,7 @@ unsigned long __init find_min_pfn_for_node(unsigned long nid)
3680 3680
3681 if (min_pfn == ULONG_MAX) { 3681 if (min_pfn == ULONG_MAX) {
3682 printk(KERN_WARNING 3682 printk(KERN_WARNING
3683 "Could not find start_pfn for node %lu\n", nid); 3683 "Could not find start_pfn for node %d\n", nid);
3684 return 0; 3684 return 0;
3685 } 3685 }
3686 3686